summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-13 09:00:16 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commit0e2e348b5315cc307548c15029bd369ece41a02f (patch)
tree39642320dc7066103f17d66f4656274e37ad9dd0
parent02a9e7166785d11aa030383fdf3ec720bd73b69e (diff)
downloadvyos-live-build-0e2e348b5315cc307548c15029bd369ece41a02f.tar.gz
vyos-live-build-0e2e348b5315cc307548c15029bd369ece41a02f.zip
Fixed a few bashisms, thanks to Trent W. Buck <trentbuck@gmail.com>.
-rwxr-xr-xfunctions/breakpoints.sh2
-rwxr-xr-xfunctions/help.sh2
-rwxr-xr-xhelpers/lh_binary_usb-hdd2
3 files changed, 3 insertions, 3 deletions
diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh
index 09b41e865..bf59d7c38 100755
--- a/functions/breakpoints.sh
+++ b/functions/breakpoints.sh
@@ -14,6 +14,6 @@ Breakpoint ()
if [ "${LH_BREAKPOINTS}" = "enabled" ]
then
Echo_message "Waiting at ${NAME}"
- read
+ read WAIT
fi
}
diff --git a/functions/help.sh b/functions/help.sh
index 0748ab201..11ee89051 100755
--- a/functions/help.sh
+++ b/functions/help.sh
@@ -18,7 +18,7 @@ Help ()
if [ -n "${USAGE}" ]
then
- echo -e "${USAGE}"
+ /bin/echo -e "${USAGE}"
echo
fi
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index ac5d5a52f..9ac66b883 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -157,7 +157,7 @@ EOF
usbdev="$(echo $rootpartition | sed -e 's/,[[:digit:]]//')"
echo "Root partition is $rootpartition, device is: $usbdev"
- echo "WAITING..." && read
+ echo "WAITING..." && read WAIT
#cat > chroot/grub.sh << EOF
#grub --batch << EOM