makes a lot more sense, since we store source there and not built apps.
plus the 's' letter is no longer colliding with anything else in my standard names? wheeee....
# add in any folders that are under the feisty meow applications folder.
define_yeti_variable FEISTY_MEOW_REPOS_SCAN
if [ -z "$FEISTY_MEOW_REPOS_SCAN" ]; then
- if [ -d "$FEISTY_MEOW_PERSONAL_HOME/apps" ]; then
- define_yeti_variable FEISTY_MEOW_REPOS_SCAN="$FEISTY_MEOW_PERSONAL_HOME/apps"
+ if [ -d "$FEISTY_MEOW_PERSONAL_HOME/source" ]; then
+ define_yeti_variable FEISTY_MEOW_REPOS_SCAN="$FEISTY_MEOW_PERSONAL_HOME/source"
else
-# echo "No value set for FEISTY_MEOW_REPOS_SCAN and no default apps folder found in home."
+# echo "No value set for FEISTY_MEOW_REPOS_SCAN and no default source folder found in home."
true
fi
fi
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.
+ # general search for normal project folders in source.
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 {} ';') "
+++ /dev/null
-#!/usr/bin/env bash
-
-# get the uva codes.
-mkdir -p ~/data/code_depot/uva_codes/
-rsync -avz --delete cak0l@clambook:apps/ ~/data/code_depot/uva_codes/
-
# fix the app name for our call to the act_on_tree script.
export APP_NAME="$(basename $0 .sh)"
-act_on_tree -f avenger5 -d ~/apps "${@}"
+act_on_tree -f avenger5 -d $HOME/source "${@}"
# application "name" and one or more "themes". By convention, the name
# and the theme are often the same, except the theme is capitalized.
# For example, let's say our app name is "turtle" and our theme name is "box".
-# The repo is checked out to a folder called "~/apps/turtle".
+# The repo is checked out to a folder called "~/source/turtle".
# This script will want to use "turtle" as the app name.
# It will have to be told the theme name, but will assume it's 'Turtle' to
# start with. The concept of the theme comes from cakephp.
#hmmm: argh, wrong check! can't check a multi-value if it's a directory or not!!!
if [ -d "$FEISTY_MEOW_REPOS_SCAN" ]; then
group_perm $FEISTY_MEOW_REPOS_SCAN
- exit_on_error "group perms on fred's apps"
+ exit_on_error "group perms on fred's source"
fi
harsh_perm /home/fred/.ssh
exit_on_error "harsh_perm setting on fred .ssh"
-group_perm /home/fred/apps/mapsdemo
+group_perm /home/fred/source/mapsdemo
exit_on_error "group perms on mapsdemo app"
echo "...done with permission changes."