Use /usr/bin/env to get perl path instead of using a hardcoded path.
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>
Sat, 16 Jun 2018 16:31:09 +0000 (12:31 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 16 Jun 2018 16:31:48 +0000 (12:31 -0400)
Summary: This makes it easier to run nofib using nix.

Test Plan: Using it.

Reviewers: O26 nofib, bgamari

Reviewed By: bgamari

Differential Revision: https://phabricator.haskell.org/D4756

mk/boilerplate.mk

index fa8b635..9d0b6c6 100644 (file)
@@ -18,7 +18,7 @@ show:
 RM = rm -f
 SIZE = size
 STRIP = strip
-PERL = /usr/bin/perl
+PERL = /usr/bin/env perl
 CONTEXT_DIFF_RAW = diff -U 1
 EXECUTABLE_FILE = chmod +x