From: Chris Koeritz Date: Wed, 30 Jan 2019 18:29:41 +0000 (-0500) Subject: clarified role of parameters in script X-Git-Tag: 2.140.115^2~46 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=f62e2be533f0fb38bbec46212163c0b88b104ba1;p=feisty_meow.git clarified role of parameters in script --- diff --git a/scripts/archival/comparator.sh b/scripts/archival/comparator.sh index 90ad0918..268e99ef 100644 --- a/scripts/archival/comparator.sh +++ b/scripts/archival/comparator.sh @@ -2,18 +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 -where="$1"; shift -if [ -z "$where" ]; then - where=/z +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 $where +uber_archive_comparator $remote_place $local_place