summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-01-15 08:25:29 +0100
committerDaniel Baumann <daniel@debian.org>2008-01-15 08:25:29 +0100
commit948730f93a1a767fafb46c31845864538359e33c (patch)
tree6d9332db2197bb7b54e3e3b97f83474cd2430e56 /helpers/lh_binary_usb-hdd
parent3ea7ef688fb3018184444246d1786039e9e2f7e8 (diff)
downloadvyos-live-build-948730f93a1a767fafb46c31845864538359e33c.tar.gz
vyos-live-build-948730f93a1a767fafb46c31845864538359e33c.zip
Consistently using the pipe as seperator in sed commands now.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index 3875cae2a..44eaac534 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -164,7 +164,7 @@ EOM
EOF
rootpartition="$(Chroot 'sh grub.sh' 2>/dev/null | grep -A 1 'find /live/vmlinuz' | grep -v 'find /live/vmlinuz')"
- usbdev="$(echo $rootpartition | sed -e 's/,[[:digit:]]//')"
+ usbdev="$(echo $rootpartition | sed -e 's|,[[:digit:]]||')"
echo "Root partition is $rootpartition, device is: $usbdev"
echo "WAITING..." && read WAIT