made safe for names with spaces
[feisty_meow.git] / scripts / archival / backup_trac.sh
old mode 100755 (executable)
new mode 100644 (file)
index f96e5ae..dadb621
@@ -2,12 +2,12 @@
 
 # backs up a trac repository into a tar.gz file.
 
-export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
+export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )"  # obtain the script's working directory.
 
 trac_path="$1"; shift
 archive_path="$1"; shift
 
 # call our arbitrary backer upper, since this is a simple single directory case.
-bash $WORKDIR/backup_arbitrary.sh "$trac_path" "$archive_path" "trac_bkup"
+bash $THISDIR/backup_arbitrary.sh "$trac_path" "$archive_path" "trac_bkup"