fi
# add in any folders that are under the feisty meow applications folder.
- define_yeti_variable FEISTY_MEOW_SCAN_REPOS
- if [ -z "$FEISTY_MEOW_SCAN_REPOS" ]; then
+ define_yeti_variable FEISTY_MEOW_REPOS_SCAN
+ if [ -z "$FEISTY_MEOW_REPOS_SCAN" ]; then
if [ -d "$HOME/apps" ]; then
- define_yeti_variable FEISTY_MEOW_SCAN_REPOS="$HOME/apps"
+ define_yeti_variable FEISTY_MEOW_REPOS_SCAN="$HOME/apps"
else
-# echo "No value set for FEISTY_MEOW_SCAN_REPOS and no default apps folder found in home."
+# echo "No value set for FEISTY_MEOW_REPOS_SCAN and no default apps folder found in home."
true
fi
fi
- if [ -d "$FEISTY_MEOW_SCAN_REPOS" ]; then
+ if [ -d "$FEISTY_MEOW_REPOS_SCAN" ]; then
#hmmm: handle the repos as if they are multi value!!!
# general search for normal project folders in apps.
- REPOSITORY_LIST+="$(find "$FEISTY_MEOW_SCAN_REPOS" -maxdepth 2 -mindepth 2 -iname ".git" -type d -exec dirname {} ';') "
- REPOSITORY_LIST+="$(find "$FEISTY_MEOW_SCAN_REPOS" -maxdepth 2 -mindepth 2 -iname ".svn" -type d -exec dirname {} ';') "
+ REPOSITORY_LIST+="$(find "$FEISTY_MEOW_REPOS_SCAN" -maxdepth 2 -mindepth 2 -iname ".git" -type d -exec dirname {} ';') "
+ REPOSITORY_LIST+="$(find "$FEISTY_MEOW_REPOS_SCAN" -maxdepth 2 -mindepth 2 -iname ".svn" -type d -exec dirname {} ';') "
# special search for site avenger directories; they have avenger5 as second level.
- REPOSITORY_LIST+="$(find "$FEISTY_MEOW_SCAN_REPOS" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) "
+ REPOSITORY_LIST+="$(find "$FEISTY_MEOW_REPOS_SCAN" -maxdepth 2 -mindepth 2 -iname "avenger5" -type d) "
fi
# the archive list is a set of directories that are major repositories of
# the top level of the user's application storage.
if [ -z "$BASE_APPLICATION_PATH" ]; then
- export BASE_APPLICATION_PATH="$FEISTY_MEOW_SCAN_REPOS"
+ export BASE_APPLICATION_PATH="$FEISTY_MEOW_REPOS_SCAN"
#hmmm: fix for multivalue usage!
fi
# where the code should come from.
exit_on_error "chown fred home"
#hmmm: argh, wrong check! can't check a multi-value if it's a directory or not!!!
-if [ -d "$FEISTY_MEOW_SCAN_REPOS" ]; then
- group_perm $FEISTY_MEOW_SCAN_REPOS
+if [ -d "$FEISTY_MEOW_REPOS_SCAN" ]; then
+ group_perm $FEISTY_MEOW_REPOS_SCAN
exit_on_error "group perms on fred's apps"
fi
harsh_perm /home/fred/.ssh
# some convenient defaults for our current usage.
if [ -z "$BASE_APPLICATION_PATH" ]; then
- BASE_APPLICATION_PATH="$FEISTY_MEOW_SCAN_REPOS"
+ BASE_APPLICATION_PATH="$FEISTY_MEOW_REPOS_SCAN"
#hmmm: take just first item from the repos list!
fi
if [ -z "$STORAGE_SUFFIX" ]; then
# some convenient defaults for our current usage.
if [ -z "$BASE_APPLICATION_PATH" ]; then
- BASE_APPLICATION_PATH="$FEISTY_MEOW_SCAN_REPOS"
+ BASE_APPLICATION_PATH="$FEISTY_MEOW_REPOS_SCAN"
#hmmm: take just first item!
fi
if [ -z "$STORAGE_SUFFIX" ]; then