From df17f41c15355ffc9c26e2f1e4a03ed91ce7652b Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Sun, 12 Feb 2012 12:14:30 -0500 Subject: [PATCH] using the variables script in our bootstrap, since otherwise PERLLIB isn't set yet. --- scripts/core/bootstrap_shells.sh | 3 +++ scripts/core/variables.sh | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) 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. -- 2.34.1