4 # change to the yeti root.
9 export TEMPO_FILE="$(mktemp "$TMP/zz_temp_yeti.XXXXXX")"
10 # specify where we keep the file until we're ready to move it.
12 export XC='--exclude='
14 tar -czf $TEMPO_FILE $SCRIPT_SYSTEM/* $XC"*.svn/*" $XC"*CVS/*" $XC"*/whole_YETI.tar.gz" $XC"*/yeti_stat*" $XC"*/custom/*"
15 # exclude the file names we never want to see.
17 # the publishing location for the packing.
18 export YETI_WEB=/var/www/yeti
19 if [ ! -d $YETI_WEB ]; then
22 if [ ! -d $YETI_WEB ]; then
23 echo The web directory $YETI_WEB cannot be created.
27 # now move the newest version into its resting place. this prepares the
28 # hierarchy for uploading; it should be self-consistent.
29 mv -v $TEMPO_FILE $YETI_WEB/whole_YETI.tar.gz