tests: add t/helper/ to the PATH with --with-dashes
[gitweb.git] / t / test-lib.sh
index 9c0ca5effb23b9d7053ce2946952a01ff1563eb7..c790e98fd2d735213d9b1dd445cf49542b750edc 100644 (file)
@@ -1227,7 +1227,7 @@ else # normal case, use ../bin-wrappers only unless $with_dashes:
        GIT_EXEC_PATH=$GIT_BUILD_DIR
        if test -n "$with_dashes"
        then
-               PATH="$GIT_BUILD_DIR:$PATH"
+               PATH="$GIT_BUILD_DIR:$GIT_BUILD_DIR/t/helper:$PATH"
        fi
 fi
 GIT_TEMPLATE_DIR="$GIT_BUILD_DIR"/templates/blt