Skip to content

Commit

Permalink
Two more fixes for the cronjob
Browse files Browse the repository at this point in the history
 * tgz and tar.bz2 now no longer include .svn directories
 * 7z creates the archive with 600 permissions. This is now updated to
   +r for everyone.
  • Loading branch information
Merlijn van Deen authored and pywikipedia project committed Jan 27, 2011
1 parent 3f88314 commit 122e993
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nightly.sh
Expand Up @@ -36,8 +36,8 @@ do
cd ..
rm $PACKAGE_DIR/$i/$i-nightly.*
CMD=( "zip -r $PACKAGE_DIR/$i/$i-nightly.zip $i/"
"tar -cvjf $PACKAGE_DIR/$i/$i-nightly.tar.bz2 --exclude=\".svn*\" $i"
"tar -cvzf $PACKAGE_DIR/$i/$i-nightly.tgz --exclude=\".svn*\" $i"
"tar -cvjf $PACKAGE_DIR/$i/$i-nightly.tar.bz2 --exclude=.svn* $i"
"tar -cvzf $PACKAGE_DIR/$i/$i-nightly.tgz --exclude=.svn* $i"
"7z a -xr!.svn $PACKAGE_DIR/$i/$i-nightly.7z $i"
)
LOG=( "zip.log" "tar.bz2.log" "tgz.log" "7z.log" )
Expand All @@ -49,6 +49,8 @@ do
echo `pwd`$ $C >> $L
$C >> $L
done
chmod +r $PACKAGE_DIR/$i/$i-nightly.*

# copy README files
touch $i/README
cp $i/README $PACKAGE_DIR/$i
Expand Down

0 comments on commit 122e993

Please sign in to comment.