clarified role of parameters in script
[feisty_meow.git] / scripts / archival / comparator.sh
index 236cc2c511d28f5270cda93529a2de6b8748bc83..268e99efe45837998ac478f49b11fea72ae241a1 100644 (file)
@@ -2,15 +2,18 @@
 
 # compares this machine's local archives against an exemplar set.
 
-target="$1"; shift
-
-if [ -z "$target" ]; then
-  target=wildmutt
-  #target=curie
+remote_place="$1"; shift
+if [ -z "$remote_place" ]; then
+  remote_place=wildmutt
+  #remote_place=curie
+fi
+local_place="$1"; shift
+if [ -z "$local_place" ]; then
+  local_place=/z
 fi
 
 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
 source "$FEISTY_MEOW_SCRIPTS/archival/general_updater.sh"
 
-uber_archive_comparator $target
+uber_archive_comparator $remote_place $local_place