From: Fred T. Hamster Date: Tue, 14 Nov 2023 15:02:45 +0000 (-0500) Subject: added is darwin check inside the prep script X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=77e3aa021463bddde7b1219849b8911b1ee5c6f6 added is darwin check inside the prep script --- diff --git a/scripts/core/prep_feisty_host.sh b/scripts/core/prep_feisty_host.sh index bbbec053..d58c4c06 100644 --- a/scripts/core/prep_feisty_host.sh +++ b/scripts/core/prep_feisty_host.sh @@ -25,6 +25,9 @@ echo originating folder is $ORIGINATING_FOLDER export FEISTY_MEOW_APEX="$(/bin/pwd)" echo feisty now apex is FEISTY_MEOW_APEX=$FEISTY_MEOW_APEX +# establish whether this is darwin (MacOS) or not. +export IS_DARWIN="$(echo $OSTYPE | grep -i darwin)" + #### # helper scripts... diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 4b4eaa56..e66a3aca 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -74,7 +74,7 @@ define_yeti_variable DEFAULT_FEISTYMEOW_ORG_DIR=/opt/feistymeow.org if [ -z "$OS" ]; then define_yeti_variable OS=UNIX fi - define_yeti_variable IS_DARWIN=$(echo $OSTYPE | grep -i darwin) + define_yeti_variable IS_DARWIN="$(echo $OSTYPE | grep -i darwin)" ##############