Fix call to install-dependencies.

If the current user running install-dependencies is not in the
libvirtd group, the user is added and install-dependencies is
reran.  This patch calls install-dependencies with $0 instead
of $PWD/$0.  There is no gaurantee that that the current working
directory is the scripts directory, so using $PWD/$0 could result
in an error.

Change-Id: I67e7eeaba365ded8fcaa1ba6b48d6759e90d5222
This commit is contained in:
James Slagle 2013-07-23 14:30:56 -04:00
parent 008d906458
commit 57f8e4e2d4

View File

@ -67,7 +67,7 @@ if ! id | grep libvirtd; then
fi
fi
exec sudo su -l $USER $PWD/$0
exec sudo su -l $USER $0
fi
echo "Check to see that you are in the libvirtd group in your current shell before going on. You can check by running:"