first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / archival / pack_hoople1.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_hoople1.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 hoople1, but exclude the file names we never want to see.
13 tar -czf $TEMPO_FILE hoople1 $XC"*CVS/*" $XC"*.svn/*" $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/3rdparty/*" $XC"hoople1/dll/*" $XC"hoople1/exe/*" $XC"hoople1/lib/*" $XC"hoople1/tests/*" $XC"hoople1/install/*" $XC"hoople1/install/*" $XC"hoople1/include/*" $XC"hoople1/logs/*" $XC"hoople1/objects/*" $XC"hoople1/docs/html/*" $XC"hoople1/binaries/*" $XC"hoople1/waste/*"
14
15 # now move the newest version into its resting place.  this prepares the
16 # hoople package for uploading.
17 mv -v $TEMPO_FILE /var/www/hoople.org/hoople1_library.tar.gz
18