updated to scour the proper area with zapdirs.
[feisty_meow.git] / scripts / core / functions.sh
index da516467b57e947408c6108e5040ed6cd4cba5a3..e1efcc1845234e71f9c4784b4c2f38560d515970 100644 (file)
@@ -4,12 +4,13 @@
 
 # test whether we've been here before or not.
 skip_all=
-date_stringer &>/dev/null
+function_sentinel &>/dev/null
 if [ $? -eq 0 ]; then
   # there was no error, so we can skip the inits.
   if [ ! -z "$SHELL_DEBUG" ]; then
     echo skipping functions.sh because already defined.
   fi
+  skip_all=yes
 fi
 
 if [ -z "$skip_all" ]; then
@@ -204,6 +205,8 @@ if [ -z "$skip_all" ]; then
       nechung
     fi
   }
+
+  function function_sentinel() { return 0; }
   
   if [ ! -z "$SHELL_DEBUG" ]; then echo function definitions end....; fi