X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Ffunctions.sh;h=e1efcc1845234e71f9c4784b4c2f38560d515970;hb=068a293d75c9b3bfe11489d062a7d20a6be9ddaa;hp=2c014299c8a43ab0924fefa0b1b6167af2af99fc;hpb=fa958409e01c4b05dd8e5d74b05cb992a3acf327;p=feisty_meow.git diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index 2c014299..e1efcc18 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -4,13 +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. - skip_all=yes fi + skip_all=yes fi if [ -z "$skip_all" ]; then @@ -205,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