From: Fred T. Hamster Date: Sun, 12 Feb 2012 17:14:30 +0000 (-0500) Subject: using the variables script in our bootstrap, since otherwise PERLLIB isn't set yet. X-Git-Tag: 2.140.90~1621^2 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=df17f41c15355ffc9c26e2f1e4a03ed91ce7652b;p=feisty_meow.git using the variables script in our bootstrap, since otherwise PERLLIB isn't set yet. --- diff --git a/scripts/core/bootstrap_shells.sh b/scripts/core/bootstrap_shells.sh index 5c9b4941..6f052e72 100644 --- a/scripts/core/bootstrap_shells.sh +++ b/scripts/core/bootstrap_shells.sh @@ -37,6 +37,9 @@ for i in FEISTY_MEOW_DIR FEISTY_MEOW_SCRIPTS FEISTY_MEOW_GENERATED; do echo "export $i=${!i}" >>"$GENERATED_FEISTY_MEOW_VARIABLES" done +# load our variables so we get a useful PERLLIB variable. +source "$FEISTY_MEOW_SCRIPTS/core/variables.sh" + # create our common aliases. perl "$FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl" diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index d3d12f2a..85fc0bbc 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -107,12 +107,6 @@ export PERLLIB if [ "$OS" != "Windows_NT" ]; then PERLLIB+="/usr/lib/perl5" else - -#echo "the scripts dir is $FEISTY_MEOW_SCRIPTS" -# FEISTY_MEOW_SCRIPTS="$(echo $FEISTY_MEOW_SCRIPTS | sed -e 's/\\/\//g')" -# FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_SCRIPTS" -#echo "the scripts dir is now $FEISTY_MEOW_SCRIPTS" - export PERLIO=:perlio # choose perl's IO over the ms-windows version so we can handle file # bytes properly.