X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=grml-live;h=b4161dd63fbe9457f03d8ab5a0acd97ec9caa0ef;hb=bec1e6582b34f6b44e4541618b84547a72653682;hp=fc181165ed4a7f97bbea8e658ec7ecf3cd3c7ba8;hpb=ec6b52311380dd2b62058d9a807946fcb3d97cba;p=grml-live.git diff --git a/grml-live b/grml-live index fc18116..b4161dd 100755 --- a/grml-live +++ b/grml-live @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Fri Feb 15 14:28:37 CET 2008 [mika] +# Latest change: Fri Feb 15 16:08:28 CET 2008 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -222,6 +222,10 @@ shift $(($OPTIND - 1)) # set ARGV to the first not parsed commandline parameter specify it on the command line using the -c option." [ -n "$OUTPUT" ] || bailout 1 "Error: \$OUTPUT unset, please set it in $LIVE_CONF or 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 GRML_NAME="$(echo $GRML_NAME | tr -d ',./;\- ')" # }}} # clean/zero grml-live logfile {{{