[commit: nofib] master: Use /usr/bin/env to get perl path instead of using a hardcoded path. (f7de4c9)

git at git.haskell.org git at git.haskell.org
Sat Jun 16 16:32:20 UTC 2018


Repository : ssh://git@git.haskell.org/nofib

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/f7de4c92475aaaa59b3484a8d54fd8115f284036/nofib

>---------------------------------------------------------------

commit f7de4c92475aaaa59b3484a8d54fd8115f284036
Author: klebinger.andreas at gmx.at <klebinger.andreas at gmx.at>
Date:   Sat Jun 16 12:31:09 2018 -0400

    Use /usr/bin/env to get perl path instead of using a hardcoded path.
    
    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


>---------------------------------------------------------------

f7de4c92475aaaa59b3484a8d54fd8115f284036
 mk/boilerplate.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mk/boilerplate.mk b/mk/boilerplate.mk
index fa8b635..9d0b6c6 100644
--- a/mk/boilerplate.mk
+++ b/mk/boilerplate.mk
@@ -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
 



More information about the ghc-commits mailing list