Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use ";" as separator character when adjusting DEFAULT_BOOTOPTIONS via…

… sed

Otherwise customizations like tz=Europe/Vienna will break, as
the "/" inside it will be interpreted by sed(1).
  • Loading branch information...
commit 6eb1b1e874476af08d8dc8deb21e3f522e6973d5 1 parent e06b6cf
@mika mika authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  grml-live
View
2  grml-live
@@ -956,7 +956,7 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then
sed -i "s/%SHORT_NAME%/$SHORT_NAME/g" "${file}"
sed -i "s/%VERSION%/$VERSION/g" "${file}"
- [ -n "$DEFAULT_BOOTOPTIONS" ] && sed -i "s/ boot=live/ boot=live $DEFAULT_BOOTOPTIONS/" "${file}"
+ [ -n "$DEFAULT_BOOTOPTIONS" ] && sed -i "s; boot=live; boot=live $DEFAULT_BOOTOPTIONS;" "${file}"
if [ -n "$NO_BOOTID" ] ; then
sed -i "s/ bootid=%BOOTID%//g" "${file}" # drop bootid bootoption
Please sign in to comment.
Something went wrong with that request. Please try again.