this makes sure that if the user happens to have feisty meow in their home directory, then they don't see any double check-ins. mostly relevant to me, since i am the main committer for now.
# names can be added in your customized scripts. the space at the end of
# this variable is important and allows users to extend the list like:
# define_yeti_variable REPOSITORY_DIR+="muppets configs"
-#old: define_yeti_variable REPOSITORY_LIST="$(basename $FEISTY_MEOW_APEX) "
define_yeti_variable REPOSITORY_LIST=
# initializes the feisty meow build variables, if possible.
export WEBBED_SITES=/var/www
fi
- # add a bunch of folders to the list for checkin & checkout. these are
- # definitely personal, and some of them are fairly dated (the yeti and
- # hoople folders, for example).
+ # add a bunch of personal folders to the list for checkin & checkout.
REPOSITORY_LIST+="$(basename $FEISTY_MEOW_APEX) cloud ebooks web active/webwork"
# point to our local certificate for ssh usage.
# checks in all the folders in a specified list.
function checkin_list()
{
- local list=$*
+echo list originally was: $*
+
+ # make the list of directories unique.
+ HOLDIFS="$IFS"
+ IFS=' '
+ local list="$(echo $* | uniq)"
+ IFS="$HOLDIFS"
+echo list became $list
+
+#hmmm: if above works, then it's needed in other places that
+# are passed lists.
+#hmmm: in fact, shouldn't it be a handy function of some sort for uniquifying lists?
save_terminal_title