X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fgenerator%2Fbuild_variables.sh;h=bd2afb036d02f508524dc03f8e810ab5968bf344;hb=ffded9f6f8d5c79bfc12c3d41c19caf4e2d078af;hp=0fc028fb3467c4fb24884f2fb90d3fae1e6eaf4d;hpb=acea287a0df88c20645c6840d16501c319cbb8e8;p=feisty_meow.git diff --git a/scripts/generator/build_variables.sh b/scripts/generator/build_variables.sh index 0fc028fb..bd2afb03 100644 --- a/scripts/generator/build_variables.sh +++ b/scripts/generator/build_variables.sh @@ -123,8 +123,7 @@ if [ -d "$FEISTY_MEOW_APEX/nucleus" ]; then else export LOCUS_LIBRARY_HEADERS= fi - ####blech! maybe not needed now? was involved above. | tr "\\\\" / | sed -e "s/\([a-zA-Z]\):\/\([^ ]*\)/\/cygdrive\/\1\/\2/g" ') -export FEISTY_MEOW_CPP_HEADERS=$(find $LOCUS_LIBRARY_HEADERS -mindepth 1 -maxdepth 1 -type d | grep -v "\.settings" ) +export FEISTY_MEOW_CPP_HEADERS=$(find $LOCUS_LIBRARY_HEADERS -mindepth 1 -maxdepth 1 -type d | grep -v "\.settings") # the root name of the version file. This is currently irrelevant on # non-windoze platforms. @@ -166,17 +165,6 @@ export BUILD_TOP="$FEISTY_MEOW_APEX" # code needed to produce the executables for feisty meow. export PRODUCTION_STORE="$BUILD_TOP/production" -## set up the top-level for all build creations and logs and such. -#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="$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="$FEISTY_MEOW_GENERATED_STORE/runtime" @@ -259,8 +247,10 @@ if [ -z "$got_bad" ]; then fi # pick the executable's file ending based on the platform. - if [ "$OPERATING_SYSTEM" == "UNIX" ]; then export EXE_ENDING=; - elif [ "$OPERATING_SYSTEM" == "WIN32" ]; then export EXE_ENDING=.exe; + if [ "$OPERATING_SYSTEM" == "UNIX" ]; then + export EXE_ENDING="" + elif [ "$OPERATING_SYSTEM" == "WIN32" ]; then + export EXE_ENDING=".exe" else echo "The OPERATING_SYSTEM variable is unset or unknown. Bailing out." fi