From 8a77c232cea62e0991cddef648bfbd409595b81a Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 8 Oct 2017 20:18:41 -0400 Subject: [PATCH] switching some orders around feisty checkin should be first in list, and now it seems to be. --- scripts/rev_control/checkin.sh | 14 +++++++++----- scripts/rev_control/getem.sh | 11 +++++++---- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/scripts/rev_control/checkin.sh b/scripts/rev_control/checkin.sh index 0631e230..e7b7c6cf 100644 --- a/scripts/rev_control/checkin.sh +++ b/scripts/rev_control/checkin.sh @@ -9,13 +9,17 @@ source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" echo "committing repositories at: $(date)" -if [ "$OS" != "Windows_NT" ]; then - # first get individual folders. - checkin_list $HOME $(dirname $FEISTY_MEOW_APEX) -else - checkin_list $HOME c:/ d:/ e:/ +FULL_LIST="$(dirname $FEISTY_MEOW_APEX) $HOME" +#if [ "$OS" != "Windows_NT" ]; then +# # first get individual folders. +# checkin_list $(dirname $FEISTY_MEOW_APEX) $HOME +#else (end old) +if [ "$OS" == "Windows_NT" ]; then + FULL_LIST+=" c:/ d:/ e:/" fi +checkin_list $FULL_LIST + ############## # regenerate the scripts after checking in, since this could mean a modified version diff --git a/scripts/rev_control/getem.sh b/scripts/rev_control/getem.sh index ace37be8..8c5ace78 100644 --- a/scripts/rev_control/getem.sh +++ b/scripts/rev_control/getem.sh @@ -35,11 +35,14 @@ rm -f "$TMPO_CHK" echo "getting repositories at: $(date)" # perform the checkouts as appropriate per OS. -if [ "$OS" != "Windows_NT" ]; then - checkout_list $HOME /usr/local 2>&1 | tee -a "$TMPO_CHK" -else - checkout_list $HOME c:/ d:/ e:/ 2>&1 | tee -a "$TMPO_CHK" +FULL_LIST="$(dirname $FEISTY_MEOW_APEX) $HOME" +#if [ "$OS" != "Windows_NT" ]; then +# checkout_list $HOME /usr/local 2>&1 | tee -a "$TMPO_CHK" +#else +if [ "$OS" == "Windows_NT" ]; then + FULL_LIST+="c:/ d:/ e:/" fi +checkout_list $FULL_LIST 2>&1 | tee -a "$TMPO_CHK" ############## -- 2.34.1