fixed apps for checkins
[feisty_meow.git] / scripts / customize / fred / fred_variables.sh
index fcca5081e9499e1bf57d65ffbd83069cfe5f0b97..d97e1f52c0e19389ae7c007f3cdb95fed10ce07f 100644 (file)
@@ -14,10 +14,22 @@ if [ -z "$USER_CUSTOMIZATIONS_LOADED" ]; then
     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).
-  REPOSITORY_LIST+="cloud ebooks web projects/webwork"
+  # add a bunch of personal folders to the list for checkin & checkout.
+  REPOSITORY_LIST+="cloud ebooks web "
+  # add in any active projects.
+  if [ -d "$HOME/active" ]; then
+    REPOSITORY_LIST+="$(find "$HOME/active" -maxdepth 1 -mindepth 1 -type d) "
+  fi
+  # add in any of my applications that are in the apps folder.
+  if [ -d "$HOME/apps" ]; then
+    # first, simple projects.
+    REPOSITORY_LIST+="$(find "$HOME/apps" -iname "avenger5" -type d) "
+    # then, site avenger specific projects.
+    REPOSITORY_LIST+="$(find "$HOME/apps" -maxdepth 2 -mindepth 2 -iname "avenger5" -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"
 
   # point to our local certificate for ssh usage.
   export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge"