summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/usb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usb.sh b/src/usb.sh
index cd80d8f..55d8b48 100755
--- a/src/usb.sh
+++ b/src/usb.sh
@@ -37,7 +37,7 @@ choose_usb()
37 die "no usb device found" 37 die "no usb device found"
38 elif [ $# = 1 ]; then 38 elif [ $# = 1 ]; then
39 confirm_usb "$1" || die impossible 39 confirm_usb "$1" || die impossible
40 USB="$1" 40 USB=$(readlink -f "$1")
41 else 41 else
42 die "multiple USB devices connected and choice between them is unimplemented. ($*)" 42 die "multiple USB devices connected and choice between them is unimplemented. ($*)"
43 fi 43 fi
@@ -49,5 +49,5 @@ choose_cdrom()
49} 49}
50 50
51choose_usb 51choose_usb
52echo USB=$USB 52echo $USB
53 53