summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-05-21 10:05:08 +0200
committerThomas Haller <thaller@redhat.com>2014-06-30 17:42:09 +0200
commit04591cfa2e91fbf2d125f692c5a06ff677cfb40f (patch)
treef61093a3b8b96a3e248b5e86332931f5014af0ed
parentc274725dc3f19dc718db87a8b5a6e04d816d8a65 (diff)
downloadNetworkManager-04591cfa2e91fbf2d125f692c5a06ff677cfb40f.tar.gz
contrib/nm-live-vm: fix run.sh script to into script directory
run.sh refers to the image file via relative path. Signed-off-by: Thomas Haller <thaller@redhat.com>
-rwxr-xr-xcontrib/fedora/nm-live-vm/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fedora/nm-live-vm/run.sh b/contrib/fedora/nm-live-vm/run.sh
index 189650b84f..cd9f7c238a 100755
--- a/contrib/fedora/nm-live-vm/run.sh
+++ b/contrib/fedora/nm-live-vm/run.sh
@@ -14,6 +14,8 @@ MEMORY=$((3*1024))
mkdir "$SDIR"
+cd "$DIR"
+
if [ "$OS" == "Red Hat Enterprise Linux" ]; then
# qemu-kvm is installed in /usr/libexec on RHEL6
# and redirects its output to VNC server