This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.002_01: global.sym
[perl5.git] / makedepend.SH
index e958185..3fa095c 100755 (executable)
@@ -45,7 +45,9 @@ esac
 
 # We need .. when we are in the x2p directory if we are using the
 # cppstdin wrapper script.
-PATH="$PATH:.:.."
+# Put .. and . first so that we pick up the present cppstdin, not
+# an older one lying about in /usr/local/bin.
+PATH=".:..:$PATH"
 export PATH
 
 $cat /dev/null >.deptmp