X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=10240fef04b8a5ec4d842c32cbd07a0f83c589b4;hp=2dcdcf37bfbb35addee8b8d1af4d3cb790309fa8;hb=cbc3a3eeb59a1e1cb6ab0815e297bc95fb85cee3;hpb=49078af7ed00aed5adb39f2fd0dd17b001e1496d diff --git a/grml-live b/grml-live index 2dcdcf3..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.3' +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 {{{