summaryrefslogtreecommitdiff
path: root/osi-extract
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-11 18:46:04 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-11 18:46:04 -0400
commit865edae814140bfae1a9f59cf722748f83ae7a36 (patch)
treec3e624d7cc6d7ae30b86aca9dbebfe04e659762a /osi-extract
parent6d472c31c808368cb0522276fcffd79dd7f500b2 (diff)
fix
Diffstat (limited to 'osi-extract')
-rwxr-xr-xosi-extract2
1 files changed, 1 insertions, 1 deletions
diff --git a/osi-extract b/osi-extract
index b809e24..2a1cbfa 100755
--- a/osi-extract
+++ b/osi-extract
@@ -11,5 +11,5 @@
mountpoint=$(mktemp -dt -- "${0##*/}.XXXXXXXXXX")
trap "rmdir -- ${mountpoint@Q}" EXIT
- sudo -- ./osi-mount "$arg_image" "$mountpoint" sudo -u "#$UID" -- cp -aT -- "$mountpoint/$src" "$dst"
+ sudo -- ./osi-mount "$arg_image" "$mountpoint" sudo -u "#$UID" -- cp -aT -- "$mountpoint/$arg_src" "$arg_dst"
}