really not generalized. these should be replaced with variables.
# snarf up all the important directories.
# CAK: current as of 2012-05-05.
&backup_hierarchy($snarf_file_base, $number, $root, "customizing");
-&backup_hierarchy($snarf_file_base, $number, $root, "database");
+&backup_hierarchy($snarf_file_base, $number, $root, "infobase");
&backup_hierarchy($snarf_file_base, $number, $root, "doc");
&backup_hierarchy($snarf_file_base, $number, $root, "examples");
&backup_hierarchy($snarf_file_base, $number, $root, "feisty_inits");
SPAM_HOLD="$HOME/spamcrud"
# the white list needs to be a file of good email addresses that will
# probably never send spam. it should be formatted one address to a line.
-EMAIL_WHITE_LIST="$HOME/cloud/database/lists/email_addresses.txt"
+EMAIL_WHITE_LIST="$HOME/cloud/infobase/lists/email_addresses.txt"
# we'll save a report of the spam checks in the file below.
REPORT_FILE="$HOME/spam_check_report_$(date_stringer).txt"
if (! $CAL_FILE) {
# print "the CAL_FILE variable is not set.\n";
# print "defaulting it to a value that probably does not suit you.\n";
- $CAL_FILE = "$CLOUD_DIR/database/lists/calendar.dat";
+ $CAL_FILE = "$CLOUD_DIR/infobase/lists/calendar.dat";
}
#print "calfile is $CAL_FILE\n";
keyfile="$HOME/.ssh/id_dsa_sourceforge"
fi
+if [ ! -f "$keyfile" ]; then
+ unset keyfile
+fi
source "$FEISTY_MEOW_SCRIPTS/security/pick_credentials.sh"
-\ssh -i "$keyfile" -X $*
+if [ ! -z "$keyfile" ]; then
+ \ssh -i "$keyfile" -X $*
+else
+ \ssh -X $*
+fi
if [ $? -eq 0 ]; then
# we don't want to emit anything extra if this is being driven by git.