From: Chris Koeritz Date: Sat, 4 Nov 2017 23:52:51 +0000 (-0400) Subject: guarded the active addition by directory presence X-Git-Tag: 2.140.90~81 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=84a26475f80112f7dc0d45a883c919a5c5063a35;p=feisty_meow.git guarded the active addition by directory presence --- diff --git a/scripts/customize/fred/fred_variables.sh b/scripts/customize/fred/fred_variables.sh index 2d2e77ab..ab33a5a3 100644 --- a/scripts/customize/fred/fred_variables.sh +++ b/scripts/customize/fred/fred_variables.sh @@ -16,7 +16,10 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then # add a bunch of personal folders to the list for checkin & checkout. REPOSITORY_LIST+="cloud ebooks web" - REPOSITORY_LIST+="$(find $HOME/active -maxdepth 1 -mindepth 1 -type d)" + # add in any active projects. + if [ -d "$HOME/active" ]; then + REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d)" + fi # adds our locally relevant archive folders into the list to be synched. ARCHIVE_COLLECTIONS_LIST+="/z/basement /z/imaginations /z/musix /z/toaster /z/walrus"