From 8c3385a7f73731316c70f976d45c0e962651f374 Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Fri, 12 Feb 2016 16:09:55 -0500 Subject: Run clean.sh scripts with sudo and set relative path so sudo can find it. Change to correct directory before running cleanup. Change-Id: I3a91cb8f25c641b81ef2c62f91b540d7657eeb53 Signed-off-by: Thomas F Herbert --- ci/buildovs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci') diff --git a/ci/buildovs.sh b/ci/buildovs.sh index db3ac9b..1164733 100755 --- a/ci/buildovs.sh +++ b/ci/buildovs.sh @@ -87,7 +87,7 @@ BuildAndTestOVS.sh -d -p none -t echo "---------------------------------------" echo "Cleanup temporary dirs" echo -cd $BUILDDIR +cd $BUILD_BASE if [ -d $TMPDIR ] then @@ -112,6 +112,6 @@ fi # Destroy VM if one has been deployed. Also remove any local installation of # DPDK and OVS # -clean.sh +sudo ../ci/clean.sh exit 0 -- cgit 1.2.3-korg