aboutsummaryrefslogtreecommitdiffstats
path: root/setup-bootable.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-bootable.in')
-rw-r--r--setup-bootable.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-bootable.in b/setup-bootable.in
index 827d987..7ecedfb 100644
--- a/setup-bootable.in
+++ b/setup-bootable.in
@@ -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";;