X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fcheckin.sh;h=7d734187dd4c0e8726bc82b3a6d924f85e0fee38;hb=refs%2Fheads%2Fmain;hp=78d030657a670a05f3f0558f21ce99f4d90aa7ba;hpb=3bcb83e182f35554308af3a73665a217859fc875;p=feisty_meow.git diff --git a/scripts/rev_control/checkin.sh b/scripts/rev_control/checkin.sh index 78d03065..7d734187 100644 --- a/scripts/rev_control/checkin.sh +++ b/scripts/rev_control/checkin.sh @@ -2,25 +2,32 @@ # checkin: checks in all the folders present in the REPOSITORY_LIST variable. -source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" +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 +