Subversion Repositories yt_downloader

Compare Revisions

No changes between revisions

Regard whitespace Rev 4 → Rev 3

/trunk/build_stable
0,0 → 1,20
#!/bin/bash
 
# TODO: also allow $DIR to be determinated inside a symlink'ed dir
DIR=$( dirname "$0" )
 
cd "$DIR"
dirname=$( basename "$( pwd )" )
tmpfile=$( mktemp --suffix="_buildytdwn" )
 
FILENAME="stable.tar.gz"
 
cd ..
rm "$dirname"/"$FILENAME"
tar cvfz "$tmpfile" --exclude "yt_downloader2/ffmpeg" --exclude "yt_downloader2/.svn" --exclude "yt_downloader2/libav" --exclude "yt_downloader2/marschall" --exclude "yt_downloader2/youtube-dl" --exclude "yt_downloader2/upload_to_vts" -- "$dirname"
 
# otherwise: "the file has changed while reading"
mv "$tmpfile" "$dirname"/"$FILENAME"
 
chmod 644 "$dirname"/"$FILENAME"
 
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/trunk/stable.tar.gz
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property