diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-17 11:49:54 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-17 11:49:54 +0200 |
commit | 5527e24de2fbc82fd84be8370ea4112623a2c472 (patch) | |
tree | d8b3de095191c436a3bfe85ef2b0f0a91672d2b0 | |
parent | 5856a288a732b2a5de650983854d684e6dd81c55 (diff) | |
download | alpine-conf-5527e24de2fbc82fd84be8370ea4112623a2c472.tar.bz2 alpine-conf-5527e24de2fbc82fd84be8370ea4112623a2c472.tar.xz |
setup-bootable: use ERE for sed regexp
the use of \+ is a GNU extension that is not supported in musl.
-rw-r--r-- | setup-bootable.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in index a78f391..116f776 100644 --- a/setup-bootable.in +++ b/setup-bootable.in @@ -284,7 +284,7 @@ for i in $tomove; do done if [ -n "$replace_alpine_dev" -o -z "$upgrade" ] && [ -n "$UUID" ]; then - sed -i -e "s/alpine_dev=[^ \t:]\+/alpine_dev=UUID=$UUID/" \ + sed -E -i -e "s/alpine_dev=[^ \t:]+/alpine_dev=UUID=$UUID/" \ "$destdir"/$syslinux_cfg fi |