X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=9fca1cc69d166fcf15ce8da8ec0281b977bace7e;hb=c745e7411722e1b63b1f26caf2806e5bddeae2cc;hp=37f688b04e248227525f9400647fd05cc0d61237;hpb=152f1d98e09e062d74b1b1a0c2e19fdd8f5d7585;p=grml-live-grml.git diff --git a/grml-live b/grml-live index 37f688b..9fca1cc 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="$GRML_NAME" +[ -n "$RELEASENAME" ] && export RELEASENAME="$RELEASENAME" # }}} # clean/zero grml-live logfile {{{