Merge branch 'master' of ssh://feistymeow.org/feisty_meow
authorChris Koeritz <fred@gruntose.com>
Sun, 29 Jan 2012 19:50:26 +0000 (14:50 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 29 Jan 2012 19:50:26 +0000 (14:50 -0500)
1  2 
scripts/core/profile.sh

diff --combined scripts/core/profile.sh
index c6d097467614eead4f8d36a0d240b82853a550be,7f03bf890c8416a2b094b89680404b93b1797e6c..5421d9edcf7c8a5afb3914b67955ca661e66df3b
@@@ -3,21 -3,22 +3,21 @@@
  #
  # This file takes the place of .profile or other initialization scripts.
  
 -#export SHELL_DEBUG=
  export SHELL_DEBUG=true
    # this variable causes the scripts that listen to it to print more information
    # when they run.
  
  ####fault--repeated code from bootstrap.  isolate to shared location.
- # GENERADIR is where the generated files yeti uses are located.
- export GENERADIR="$HOME/.zz_auto_gen"
+ # FEISTY_MEOW_GENERATED is where the generated files yeti uses are located.
+ export FEISTY_MEOW_GENERATED="$HOME/.zz_auto_gen"
  if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
    # assume they are using windoze.
-   export GENERADIR="$TMP/zz_auto_gen"
+   export FEISTY_MEOW_GENERATED="$TMP/zz_auto_gen"
  fi
  
  # make sure our main variables are established.
YETIVARS="$GENERADIR/yeti_variables.sh"
- if [ ! -f "$YETIVARS" ]; then
GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/feisty_meow_variables.sh"
+ if [ ! -f "$GENERATED_FEISTY_MEOW_VARIABLES" ]; then
    echo -e '\n\n'
    echo "The yeti scripts need to be initialized via the bootstrap process, e.g.:"
    echo "  bash $HOME/feisty_meow/scripts/core/bootstrap_shells.sh"
@@@ -25,7 -26,7 +25,7 @@@
  fi
  
  # pull in our variable set.
- source "$YETIVARS"
+ source "$GENERATED_FEISTY_MEOW_VARIABLES"
  
  # define a default name, if one wasn't already set.
  if [ -z "$NAME" ]; then
@@@ -40,14 -41,14 +40,14 @@@ if [ "$OS" == "Windows_NT" ]; the
      export HOME=/c/home
    fi
    if [ ! -d "$HOME" ]; then mkdir $HOME; fi
- ##  export GENERADIR=$TMP/zz_auto_gen
+ ##  export FEISTY_MEOW_GENERATED=$TMP/zz_auto_gen
  fi
  
  if [ -z "$LIGHTWEIGHT_INIT" ]; then
    # perform the bulk of the login.
-   source $SHELLDIR/core/unix_login.sh
+   source $FEISTY_MEOW_SCRIPTS/core/unix_login.sh
  else
    # this is the lightweight login that just wants variables set.
-   source $SHELLDIR/core/lightweight_unix_login.sh
+   source $FEISTY_MEOW_SCRIPTS/core/lightweight_unix_login.sh
  fi