From 148a3f5735e0a8af991aa5023e6067fbbe607267 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Mon, 13 Feb 2012 18:30:49 -0800 Subject: [PATCH] Still dealing with install directory issues... --- util/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/install.sh b/util/install.sh index 392d3c6..1d60411 100755 --- a/util/install.sh +++ b/util/install.sh @@ -194,6 +194,7 @@ function of { BLACKLIST=/etc/modprobe.d/blacklist fi sudo sh -c "echo 'blacklist net-pf-10\nblacklist ipv6' >> $BLACKLIST" + cd ~ } # Install Open vSwitch @@ -206,6 +207,7 @@ function ovs { # First see if we have packages # XXX wget -c seems to fail from github/amazon s3 + cd /tmp if wget $OVS_PACKAGE_LOC/$OVS_PACKAGE_NAME; then # Install dkms dependencies $install patch dkms fakeroot @@ -228,6 +230,7 @@ function ovs { sudo update-rc.d openvswitch-controller disable fi echo "Done (hopefully) installing packages" + cd ~ return fi