Fix export syntax
authorMichael Prokop <devnull@localhost>
Mon, 29 Sep 2008 09:36:32 +0000 (11:36 +0200)
committerMichael Prokop <devnull@localhost>
Mon, 29 Sep 2008 09:36:32 +0000 (11:36 +0200)
grml-live

index 10240fe..9fca1cc 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -248,8 +248,8 @@ specify it on the command line using the -o option."
 [ -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"
+[ -n "$GRML_NAME" ]   && export GRML_NAME="$GRML_NAME"
+[ -n "$RELEASENAME" ] && export RELEASENAME="$RELEASENAME"
 # }}}
 
 # clean/zero grml-live logfile {{{