summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2020-10-30 11:30:53 -0400
committerAndrew Cady <d@cryptonomic.net>2020-10-30 12:10:14 -0400
commit05303b249d858e48715cc0e1debbb94827cceca3 (patch)
tree29e4a82c10b1086853521a015138d1f260c74da5 /src
parent7592edc5df9318d4f8a6621194a66e8d69dcdd2e (diff)
usb.sh: canonicalize output
Diffstat (limited to 'src')
-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