summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/count_bytes2
-rw-r--r--distrib/cross-port2
-rw-r--r--testsuite/tests/rename/prog006/Setup.lhs2
-rw-r--r--utils/count_lines/count_lines.lprl2
-rw-r--r--utils/runghc/runghc.hs2
5 files changed, 5 insertions, 5 deletions
diff --git a/compiler/count_bytes b/compiler/count_bytes
index bf6240228f..4b8aa37898 100644
--- a/compiler/count_bytes
+++ b/compiler/count_bytes
@@ -1,4 +1,4 @@
-#! /usr/local/bin/perl
+#!/usr/bin/env perl
#
%DirCount = ();
%ModCount = ();
diff --git a/distrib/cross-port b/distrib/cross-port
index 690e60b16a..7c54604ae6 100644
--- a/distrib/cross-port
+++ b/distrib/cross-port
@@ -1,4 +1,4 @@
-#! /bin/bash
+#!/usr/bin/env bash
# This script can be used to generate some unregisterised .hc files
# for bootstrapping GHC on a new/unsupported platform. It involves a
diff --git a/testsuite/tests/rename/prog006/Setup.lhs b/testsuite/tests/rename/prog006/Setup.lhs
index b28a8234f9..a81e9d221b 100644
--- a/testsuite/tests/rename/prog006/Setup.lhs
+++ b/testsuite/tests/rename/prog006/Setup.lhs
@@ -1,4 +1,4 @@
-#!/usr/bin/runhaskell
+#!/usr/bin/env runhaskell
> module Main where
> import Distribution.Simple
> main :: IO ()
diff --git a/utils/count_lines/count_lines.lprl b/utils/count_lines/count_lines.lprl
index 72b441384e..49b11ee0c7 100644
--- a/utils/count_lines/count_lines.lprl
+++ b/utils/count_lines/count_lines.lprl
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#!/usr/bin/env perl
\begin{code}
diff --git a/utils/runghc/runghc.hs b/utils/runghc/runghc.hs
index e94c5503c0..42ddb83f25 100644
--- a/utils/runghc/runghc.hs
+++ b/utils/runghc/runghc.hs
@@ -7,7 +7,7 @@
-- runghc program, for invoking from a #! line in a script. For example:
--
-- script.lhs:
--- #!/usr/bin/env /usr/bin/runghc
+-- #!/usr/bin/env runghc
-- > main = putStrLn "hello!"
--
-- runghc accepts one flag: