summaryrefslogtreecommitdiff
path: root/qemu-start
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2013-07-13 12:36:29 +0200
committerPeter Wu <lekensteyn@gmail.com>2013-07-13 12:36:29 +0200
commite6b042c71fa67530360532fa303fe97e01cfaa82 (patch)
tree7268d9f2ccd6bd085305fd59e624a5a2f0cc4f3a /qemu-start
parenta9ae058b06ef0236fc64237e5c6dc7b779e13468 (diff)
downloadscripts-e6b042c71fa67530360532fa303fe97e01cfaa82.tar.gz
qemu-start: do not always overwrite ISO envvar
Diffstat (limited to 'qemu-start')
-rwxr-xr-xqemu-start2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-start b/qemu-start
index ff9b62a..323df4b 100755
--- a/qemu-start
+++ b/qemu-start
@@ -16,7 +16,7 @@ ISO=*.iso)
;;
esac
-: ${ISO=/usr/share/virtualbox/ubuntu-12.04.1-desktop-amd64.iso}
+ISO=${ISO-/usr/share/virtualbox/ubuntu-12.04.1-desktop-amd64.iso}
case $ISO in
*.iso)
set -- -cdrom "$ISO" "$@"