X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fcheckin.sh;h=7d734187dd4c0e8726bc82b3a6d924f85e0fee38;hb=HEAD;hp=ac0176c7c208b38a8ca18e3050c5fa5f1d3b8c07;hpb=077f310e41b5b0f5cd47fd1b523d9a51c9b6ef0b;p=feisty_meow.git diff --git a/scripts/rev_control/checkin.sh b/scripts/rev_control/checkin.sh index ac0176c7..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)" +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 +