summaryrefslogtreecommitdiff
path: root/makedepend.SH
diff options
context:
space:
mode:
Diffstat (limited to 'makedepend.SH')
-rwxr-xr-xmakedepend.SH4
1 files changed, 3 insertions, 1 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 038d9bf953..e95818548f 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -43,7 +43,9 @@ case $CONFIG in
;;
esac
-PATH="$PATH:."
+# We need .. when we are in the x2p directory if we are using the
+# cppstdin wrapper script.
+PATH="$PATH:.:.."
export PATH
$cat /dev/null >.deptmp