summaryrefslogtreecommitdiff
path: root/t/instdir-java.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/instdir-java.sh')
-rw-r--r--t/instdir-java.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/t/instdir-java.sh b/t/instdir-java.sh
index 97eff573c..547ec5f7c 100644
--- a/t/instdir-java.sh
+++ b/t/instdir-java.sh
@@ -45,16 +45,16 @@ cd build
../configure --prefix="$instdir"
$MAKE
-javadir=
-export javadir
-$MAKE -e install
+nukedirs='javadir='
+
+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"
: