X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fcheckin.sh;h=7d734187dd4c0e8726bc82b3a6d924f85e0fee38;hb=9a05fd81ce1b19b89d221c4fb04cf6b3010a7f8e;hp=76e0c7f07520596459859284c72c79f3249b07c2;hpb=88a4dcce8283a35723c94386b974a543852b77dc;p=feisty_meow.git diff --git a/scripts/rev_control/checkin.sh b/scripts/rev_control/checkin.sh index 76e0c7f0..7d734187 100644 --- a/scripts/rev_control/checkin.sh +++ b/scripts/rev_control/checkin.sh @@ -5,22 +5,29 @@ source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" +save_terminal_title + ############## echo "committing repositories at: $(date)" -if [ "$OS" != "Windows_NT" ]; then - # first get individual folders. - checkin_list $HOME /usr/local -else - checkin_list $HOME c:/ d:/ e:/ +FULL_LIST=" $(dirname $FEISTY_MEOW_APEX) $HOME " +if [ "$OS" == "Windows_NT" ]; then + FULL_LIST+=" c:/ d:/ e:/ " fi +checkin_list $FULL_LIST +exit_on_error "revision control check-in of list: $FULL_LIST" + +echo + ############## -# regenerate the scripts after checking in, since this could mean a modified version -# of feisty meow is present. +# regenerate the scripts after the check-in, since an update during check-in +# could mean we have a modified version of feisty meow is present. regenerate ############## +restore_terminal_title +