t/Makefile: Can't include GIT-BUILD-OPTIONS, it's a .sh
[gitweb.git] / t / t4010-diff-pathspec.sh
index 4c4c8b1570c01721e8ac2c8d16837e68ecaa30f5..94df7ae53a0ef47c0ef10ca6b3215ffdf38fa399 100755 (executable)
@@ -10,7 +10,7 @@ Prepare:
         path1/file1
 '
 . ./test-lib.sh
-. ../diff-lib.sh ;# test-lib chdir's into trash
+. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash
 
 test_expect_success \
     setup \