From 77e3aa021463bddde7b1219849b8911b1ee5c6f6 Mon Sep 17 00:00:00 2001 From: "Fred T. Hamster" Date: Tue, 14 Nov 2023 10:02:45 -0500 Subject: [PATCH] added is darwin check inside the prep script --- scripts/core/prep_feisty_host.sh | 3 +++ scripts/core/variables.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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)" ############## -- 2.34.1