From f7761f64aefda43f4afec408f1cfe20afc063bc8 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 21 Feb 2012 22:29:44 -0500 Subject: [PATCH] got language fixed in inits. --- scripts/core/functions.sh | 7 ++----- scripts/core/launch_feisty_meow.sh | 2 +- scripts/core/variables.sh | 17 ----------------- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index d25e71d7..da516467 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -7,15 +7,12 @@ skip_all= date_stringer &>/dev/null if [ $? -eq 0 ]; then # there was no error, so we can skip the inits. -# if [ ! -z "$SHELL_DEBUG" ]; then + if [ ! -z "$SHELL_DEBUG" ]; then echo skipping functions.sh because already defined. -# fi + fi fi -echo proceeding to run functions.sh - if [ -z "$skip_all" ]; then - if [ ! -z "$SHELL_DEBUG" ]; then echo function definitions begin... fi diff --git a/scripts/core/launch_feisty_meow.sh b/scripts/core/launch_feisty_meow.sh index 26b61511..03db5cb8 100644 --- a/scripts/core/launch_feisty_meow.sh +++ b/scripts/core/launch_feisty_meow.sh @@ -10,7 +10,7 @@ ############## -#export SHELL_DEBUG=true +export SHELL_DEBUG=true # this variable causes the scripts that listen to it to print more information # when they run. diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index f56af98d..0e4c5ac2 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -28,23 +28,6 @@ if [ -z "$NECHUNG" ]; then ############## - # windoze sometimes needs a special home variable setup. - if [ "$OS" == "Windows_NT" ]; then - # give them a default place if they don't have one already. - if [ -z "$HOME" ]; then - export HOME=c:/home - fi - # patch home to undo cygwin style of drive letter. - # export HOME=$(echo $HOME | sed -e 's/\/cygdrive\//\//g') - # make the home folder if it doesn't exist yet. - if [ ! -d $HOME ]; then - mkdir $HOME - fi - if [ ! -z "$SHELL_DEBUG" ]; then echo HOME is now $HOME; fi - fi - - ############## - # fallbacks to set crucial variables for feisty meow... # set the main root directory variable for the feisty meow codebase. -- 2.34.1