From: Chris Koeritz Date: Tue, 26 Jul 2022 17:54:28 +0000 (-0400) Subject: dropped some old comments X-Git-Tag: 2.140.136^2~17 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=7f5404c28c6c182b196f76d7e8bee94ce7943086;p=feisty_meow.git dropped some old comments --- 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 ####