[commit: ghc] master: testsuite: Use /usr/bin/env instead of /bin/bash (1245835)
git at git.haskell.org
git at git.haskell.org
Tue May 29 21:45:28 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/12458359c9312b0e2b7332a6b527d7dfa4325667/ghc
>---------------------------------------------------------------
commit 12458359c9312b0e2b7332a6b527d7dfa4325667
Author: Ben Gamari <ben at smart-cactus.org>
Date: Tue May 29 17:37:01 2018 -0400
testsuite: Use /usr/bin/env instead of /bin/bash
Namely in T13719 and T13701.
>---------------------------------------------------------------
12458359c9312b0e2b7332a6b527d7dfa4325667
testsuite/tests/perf/compiler/genT13701 | 3 ++-
testsuite/tests/perf/compiler/genT13719 | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/testsuite/tests/perf/compiler/genT13701 b/testsuite/tests/perf/compiler/genT13701
index f2b7c4e..7401cdd 100755
--- a/testsuite/tests/perf/compiler/genT13701
+++ b/testsuite/tests/perf/compiler/genT13701
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+
# Generate $DEPTH layers of modules with $WIDTH modules on each layer
# Every module on layer N imports all the modules on layer N-1
# MultiLayerModules.hs imports all the modules from the last layer
diff --git a/testsuite/tests/perf/compiler/genT13719 b/testsuite/tests/perf/compiler/genT13719
index ccc078e..886fdd1 100755
--- a/testsuite/tests/perf/compiler/genT13719
+++ b/testsuite/tests/perf/compiler/genT13719
@@ -1,4 +1,5 @@
-#!/bin/bash
+#!/usr/bin/env bash
+
# Generate $DEPTH layers of modules with $WIDTH modules on each layer
# Every module on layer N imports all the modules on layer N-1
# $ROOT.hs imports all the modules from the last layer
More information about the ghc-commits
mailing list