X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=cf25fa2267f2bb09670fe75361fb2db487d898f7;hb=fe038e66197671e7ba00f71998bf2d8d7793d36d;hp=b5ea3456311933b1546fad677f7fca4a623aa9c1;hpb=279c032799d815db36904b747549693d14eafde3;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index b5ea3456..cf25fa22 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -17,17 +17,16 @@ # this function always exports the variables it defines. function define_yeti_variable() { -# if variable exists already, save old value for restore, + #hmmm: simple implem just sets it up and exports the variable. + # i.e., this method always exports. + export "${@}" + +#hmmm: eventual approach-- if variable exists already, save old value for restore, # otherwise save null value for restore, # have to handle unsetting if there was no prior value of one # we newly defined. # add variable name to a list of feisty defined variables. -#hmmm: first implem just sets it up and exports the variable. -# i.e., this method always exports. -export "${@}" - - return 0 }