X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=10240fef04b8a5ec4d842c32cbd07a0f83c589b4;hp=37f688b04e248227525f9400647fd05cc0d61237;hb=cbc3a3eeb59a1e1cb6ab0815e297bc95fb85cee3;hpb=152f1d98e09e062d74b1b1a0c2e19fdd8f5d7585 diff --git a/grml-live b/grml-live index 37f688b..10240fe 100755 --- a/grml-live +++ b/grml-live @@ -14,7 +14,7 @@ export LC_ALL=C # exit on any error: set -e -GRML_LIVE_VERSION='0.9.2' +GRML_LIVE_VERSION='0.9.4' PN="$(basename $0)" CMDLINE="$0 $@" ISO_DATE="$(date +%Y-%m-%d)" @@ -246,6 +246,10 @@ specify it on the command line using the -o option." # trim characters that are known to cause problems inside $GRML_NAME; # for example isolinux does not like '-' inside the directory name [ -n "$GRML_NAME" ] && export SHORT_GRML_NAME="$(echo $GRML_NAME | tr -d ',./;\- ')" + +# export variables to have them available in fai scripts: +[ -n "$GRML_NAME" ] && export "$GRML_NAME" +[ -n "$RELEASENAME" ] && export "$RELEASENAME" # }}} # clean/zero grml-live logfile {{{