X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fbuild_variables.sh;fp=scripts%2Fgenerator%2Fbuild_variables.sh;h=c8a4c3ec637ba19c1fecbbb8e0aa2c1d5b89f1e1;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=e30bd07913f9b4b0bd4f2d15d0e80ffad7cc26d0;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/generator/build_variables.sh b/scripts/generator/build_variables.sh index e30bd079..c8a4c3ec 100644 --- a/scripts/generator/build_variables.sh +++ b/scripts/generator/build_variables.sh @@ -9,12 +9,12 @@ # building the source code. It can either be run as a bash script directly # like so: # -# bash ~/feisty_meow/scripts/generator/build_variables.sh +# bash $FEISTY_MEOW_APEX/scripts/generator/build_variables.sh # # which will establish a new shell containing all the variables, or you can # 'source' the script like so: # -# build_vars=~/feisty_meow/scripts/generator/build_variables.sh +# build_vars=$FEISTY_MEOW_APEX/scripts/generator/build_variables.sh # source $build_vars $build_vars # # to set all of the variables in your current shell. The full path is @@ -46,7 +46,7 @@ PARM_1="$1" # helpful build function zone. -source $FEISTY_MEOW_SCRIPTS/core/functions.sh +source "$FEISTY_MEOW_SCRIPTS/core/functions.sh" ############## @@ -80,11 +80,11 @@ else # the system is unknown, so we give up on guessing. export OPERATING_SYSTEM=unknown fi -if [ ! -z "$SHELL_DEBUG" ]; then +if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo "[OS is \"$OPERATING_SYSTEM\"]" fi -if [ ! -z "$SHELL_DEBUG" ]; then +if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo "[FEISTY_MEOW_APEX is $FEISTY_MEOW_APEX]" fi @@ -102,25 +102,25 @@ export BUILD_TOP="$FEISTY_MEOW_APEX" export PRODUCTION_STORE="$BUILD_TOP/production" ## set up the top-level for all build creations and logs and such. -#export GENERATED_STORE="$TMP/generated-feisty_meow" -#if [ ! -d "$GENERATED_STORE" ]; then -# mkdir -p "$GENERATED_STORE" +#export FEISTY_MEOW_GENERATED_STORE="$TMP/generated-feisty_meow" +#if [ ! -d "$FEISTY_MEOW_GENERATED_STORE" ]; then +# mkdir -p "$FEISTY_MEOW_GENERATED_STORE" #fi ## set up our effluent outsourcing valves. -#export TEMPORARIES_PILE="$GENERATED_STORE/temporaries" +#export TEMPORARIES_PILE="$FEISTY_MEOW_GENERATED_STORE/temporaries" #if [ ! -d "$TEMPORARIES_PILE" ]; then # mkdir -p "$TEMPORARIES_PILE" #fi # this variable points at a folder where we store the generated products of # the build, such as the binaries and installer packages. -export RUNTIME_PATH="$GENERATED_STORE/runtime" +export RUNTIME_PATH="$FEISTY_MEOW_GENERATED_STORE/runtime" if [ ! -d "$RUNTIME_PATH" ]; then mkdir -p "$RUNTIME_PATH" fi # we define a log file storage area that can be relied on by the build. -export FEISTY_MEOW_LOGS="$GENERATED_STORE/logs" +export FEISTY_MEOW_LOGS="$FEISTY_MEOW_GENERATED_STORE/logs" if [ ! -d "$FEISTY_MEOW_LOGS" ]; then mkdir -p "$FEISTY_MEOW_LOGS" fi @@ -129,7 +129,7 @@ fi # debugging area where we say what we think we know. -if [ ! -z "$SHELL_DEBUG" ]; then +if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo scripts: $BUILD_SCRIPTS_PATH echo build tools hier: $BUILDING_HIERARCHY echo this tool: $THIS_TOOL_NAME