summaryrefslogtreecommitdiffstats
path: root/install-usb
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-05-02 16:43:55 +0200
committerSebastian Schmelzer2011-05-02 16:43:55 +0200
commit7931e88ac8ab2eab4da6840a698920f8c28deba4 (patch)
treef1138f213c41f9582519839fefac355eec7620ed /install-usb
parentMake the calculation right (normalize to MByte) ... (diff)
downloadusb-boot-stick-7931e88ac8ab2eab4da6840a698920f8c28deba4.tar.gz
usb-boot-stick-7931e88ac8ab2eab4da6840a698920f8c28deba4.tar.xz
usb-boot-stick-7931e88ac8ab2eab4da6840a698920f8c28deba4.zip
update installer ..
Diffstat (limited to 'install-usb')
-rwxr-xr-xinstall-usb5
1 files changed, 3 insertions, 2 deletions
diff --git a/install-usb b/install-usb
index ccac69e..1467019 100755
--- a/install-usb
+++ b/install-usb
@@ -24,7 +24,8 @@ fi
OUT_DEV=$1
if [ -z $OUT_DEV ]; then
- echo "no dev"
+ echo "[Error] No output device specified."
+ echo "Usage $0 [devicename of usb-stick] (e.g. \"sdc\" for /dev/sdc)."
exit 1
fi
@@ -39,7 +40,7 @@ done
SYSLINUX=${ROOT_DIR}/contrib/syslinux/latest
-PATH="$PATH:${ROOT_DIR}/bin/"
+PATH="${ROOT_DIR}/bin/:$PATH"
# create the required stuff (syslinux, kernel, initramfs)
[ ! -f ${SYSLINUX}/Makefile ] && env.setup-syslinux.sh