From: Chris Koeritz Date: Sun, 29 Jan 2012 00:08:18 +0000 (-0500) Subject: got this looking pretty good now. doesn't seem to include too much X-Git-Tag: 2.140.90~1656^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=df2fd38ab5e5d97c24b22f24acef7d0b031d9739;p=feisty_meow.git got this looking pretty good now. doesn't seem to include too much extra junk. --- diff --git a/scripts/archival/pack_feisty_meow.sh b/scripts/archival/pack_feisty_meow.sh index d4e8edce..ce1bb1cc 100644 --- a/scripts/archival/pack_feisty_meow.sh +++ b/scripts/archival/pack_feisty_meow.sh @@ -3,18 +3,18 @@ # change to the home directory so we can find our files. cd -TEMPO_FILE="$(mktemp "$TMP/zz_temp_hoople2.XXXXXX")" +TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")" # specify where we keep the file until we're ready to move it. # shortcut for the lengthy exclude parameter. export XC='--exclude=' # zip up hoople2, but exclude the file names we never want to see. -tar -czf $TEMPO_FILE feisty_meow $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" +tar -czf $TEMPO_FILE feisty_meow $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" $XC"*/.git/*" date_string="$(date +"%Y_%b_%e_%H%M" | sed -e 's/ //g')" # now move the newest version into its resting place. this prepares the # feisty_meow package for uploading. -mv -v $TEMPO_FILE /var/www/feistymeow.org/feisty_meow_codebase_${date_string}.tar.gz +mv -v $TEMPO_FILE $WEB_DIR/feistymeow.org/feisty_meow_codebase_${date_string}.tar.gz