]> wimlib.net Git - wimlib/blobdiff - tests/test-imagex
Fix tests (again)
[wimlib] / tests / test-imagex
index 94b697fdce5d40c68d94cd6ceb7103858193a398..25ed8e037915973b0e11b1bf1b0d3a06dd870af0 100755 (executable)
@@ -5,7 +5,9 @@
 
 set -e
 cd tests
-. tests-common.sh
+srcdir="${srcdir:-.}/.."
+srcdir="$(cd $srcdir; pwd)"
+. "$srcdir/tests/tests-common.sh"
 
 imagex() {
        echo "imagex $@"