summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-11-17 19:15:59 -0600
committerAustin Seipp <austin@well-typed.com>2014-11-17 19:15:59 -0600
commitd997ca85a33f34f9f461096eb1b25d5f25b53072 (patch)
treec712a7058e5034231dcd3e935bf8c2853ec3a260
parent0515055abfcf5957d7a957607b4785320627fd65 (diff)
downloadhaskell-d997ca85a33f34f9f461096eb1b25d5f25b53072.tar.gz
Don't use absolute paths for perl in validate
Summary: This will *not* work on NixOS for example. Reviewers: austin Reviewed By: austin Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D479 GHC Trac Issues: #9057
-rwxr-xr-xvalidate5
1 files changed, 2 insertions, 3 deletions
diff --git a/validate b/validate
index 7464be93d8..5954e9634b 100755
--- a/validate
+++ b/validate
@@ -157,9 +157,9 @@ if [ $no_clean -eq 0 ]; then
fi
if [ $use_dph -eq 1 ]; then
- /usr/bin/perl -w boot --validate --required-tag=dph
+ perl -w boot --validate --required-tag=dph
else
- /usr/bin/perl -w boot --validate
+ perl -w boot --validate
fi
./configure --prefix="$INSTDIR" $config_args
fi
@@ -299,4 +299,3 @@ Please fix them before pushing/sending patches.
EOF
exit 1
fi
-