first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / archival / pack_hoople2.sh
1 #!/bin/bash
2
3 # change to the home directory so we can find our files.
4 cd
5
6 TEMPO_FILE="$(mktemp "$TMP/zz_temp_hoople2.XXXXXX")"
7   # specify where we keep the file until we're ready to move it.
8
9 # shortcut for the lengthy exclude parameter.
10 export XC='--exclude='
11
12 # zip up hoople2, but exclude the file names we never want to see.
13 tar -czf $TEMPO_FILE hoople2 $XC"*CVS/*" $XC"*.svn/*" $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/3rdparty/*" $XC"hoople2/install/*" $XC"hoople2/logs/*" $XC"hoople2/docs/html/*" $XC"hoople2/binaries/*" $XC"hoople2/waste/*"
14
15 # now move the newest version into its resting place.  this prepares the
16 # hoople2 package for uploading.
17 mv -v $TEMPO_FILE /var/www/hoople.org/hoople2_library.tar.gz
18