Commit 4ac2b11c authored by Jeff Bilyk's avatar Jeff Bilyk

setup-bootable: strip off trailing / in srcdir variable

strip off trailing /
parent e13d4b56
......@@ -87,7 +87,7 @@ dest=${2:-/media/usb}
srcdir=
# Find the srcdir or srcurl. mount loopback if needed
if [ -f "$src"/.alpine-release ]; then
srcdir="$src"
srcdir="`echo $src | sed -r 's,/$,,'`"
else
case "$src" in
http://*|ftp://*) srcurl="$src";;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment