diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2012-06-11 19:33:05 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2012-06-11 19:33:05 +0200 |
commit | 36d0fb5559726d863624c75614f35a875aa2fb6d (patch) | |
tree | b0ea539f3caf716a05c58cf3929f76daeee903ef | |
parent | Use real_root option for (plain) Luks setup (diff) | |
download | genkernel-36d0fb5559726d863624c75614f35a875aa2fb6d.tar.gz genkernel-36d0fb5559726d863624c75614f35a875aa2fb6d.tar.bz2 genkernel-36d0fb5559726d863624c75614f35a875aa2fb6d.zip |
Make recent addition conform to POSIX
-rwxr-xr-x | defaults/initrd.scripts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index fd9ac273..f05a746c 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -756,7 +756,7 @@ openLUKS() { case $1 in root) local TYPE=ROOT - [ -n "${REAL_ROOT}" ] && local LUKS_NAME="$(echo "$REAL_ROOT" | sed -e 's/.*\///')" + [ -n "${REAL_ROOT}" ] && local LUKS_NAME="`echo "${REAL_ROOT}" | sed -e 's|.*/||'`" ;; swap) local TYPE=SWAP |