summaryrefslogtreecommitdiff
path: root/t/instdir-python.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/instdir-python.sh')
-rw-r--r--t/instdir-python.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/t/instdir-python.sh b/t/instdir-python.sh
index 680f97ff5..e431a0635 100644
--- a/t/instdir-python.sh
+++ b/t/instdir-python.sh
@@ -46,17 +46,16 @@ cd build
../configure --prefix="$instdir"
$MAKE
-pythondir=
-export pythondir
+nukedirs='pythondir='
-$MAKE -e install
+run_make $nukedirs install
test ! -e "$instdir"
-$MAKE -e install DESTDIR="$destdir"
+run_make $nukedirs install DESTDIR="$destdir"
test ! -e "$instdir"
test ! -e "$destdir"
-$MAKE -e uninstall > stdout || { cat stdout; exit 1; }
+run_make $nukedirs uninstall > stdout || { cat stdout; exit 1; }
cat stdout
grep 'rm -f' stdout && exit 1
-$MAKE -e uninstall DESTDIR="$destdir"
+run_make $nukedirs uninstall DESTDIR="$destdir"
: