X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=3caa20670ed92141ce74327269f1fc219e67c3bd;hb=a55341401e68e249f6afd46cb304e84991c25dde;hp=9cecadf848a57d8bfb24090c9fdcb58e155f3138;hpb=88a4dcce8283a35723c94386b974a543852b77dc;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index 9cecadf8..3caa2067 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -130,7 +130,20 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then fi ############## + + # set up the color_add variable which is a flag that lets ls know colors work. + + # test if we can use color in ls... + ls --help 2>&1 | grep -i -q color + if [ $? -eq 0 ]; then + export color_add='--color=auto' + else + export color_add= + fi + unset test_ls_colors + ############## + # umask sets a permission mask for all file creations. # this mask disallows writes by "group" and "others". umask 022 @@ -194,7 +207,8 @@ if [ -z "$CORE_VARIABLES_LOADED" ]; then # names can be added in your customized scripts. the space at the end of # this variable is important and allows users to extend the list like: # define_yeti_variable REPOSITORY_DIR+="muppets configs" - define_yeti_variable REPOSITORY_LIST="feisty_meow " +#old: define_yeti_variable REPOSITORY_LIST="$(basename $FEISTY_MEOW_APEX) " + define_yeti_variable REPOSITORY_LIST= # initializes the feisty meow build variables, if possible. function initialize_build_variables()