From 7f5404c28c6c182b196f76d7e8bee94ce7943086 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 26 Jul 2022 13:54:28 -0400 Subject: [PATCH] dropped some old comments --- scripts/core/prep_feisty_host.sh | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/scripts/core/prep_feisty_host.sh b/scripts/core/prep_feisty_host.sh index 7574f345..5dc95e06 100644 --- a/scripts/core/prep_feisty_host.sh +++ b/scripts/core/prep_feisty_host.sh @@ -1,22 +1,26 @@ #!/usr/bin/env bash # this is the feisty meow host preparation script. it installs all the packages required to run and build feisty meow scripts and applications. -# this script may still be a bit incomplete; we definitely use a lot of unix and linux tools in different scripts. + +# hmmm: this script may still be a bit incomplete; we definitely use a lot of unix and linux tools in different scripts. # preconditions and dependencies--this script itself depends on: # feisty meow # bash # anything else? -#weird approach here man. -# why are we assuming any part of feisty meow is set up yet? -# the dependencies that the codebase has are why we're installing things below. -# so: -# + intuit the feisty meow location based on relative dir placement. -# + reduce checks to barest presence ones. -# + drop any requirements on feisty functions that might require the -# very code we're installing. +#### + +ORIGINATING_FOLDER="$( \cd "$(\dirname "$0")" && /bin/pwd )" +CORE_SCRIPTS_DIR="$(echo "$ORIGINATING_FOLDER" | tr '\\\\' '/' )" +THIS_TOOL_NAME="$(basename "$0")" +# set up the feisty_meow dir. +pushd "$CORE_SCRIPTS_DIR/../.." &>/dev/null +#source "$CORE_SCRIPTS_DIR/functions.sh" +echo originating folder is $ORIGINATING_FOLDER +export FEISTY_MEOW_APEX="$(/bin/pwd)" +echo feisty now apex is FEISTY_MEOW_APEX=$FEISTY_MEOW_APEX #### -- 2.34.1