summaryrefslogtreecommitdiff
path: root/utils/runghc
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2014-09-23 08:45:31 -0500
committerAustin Seipp <austin@well-typed.com>2014-09-23 08:45:31 -0500
commitd5e4874833054f1789289c433be292ae3e9bd7d0 (patch)
tree1ea093ef8ebcd357891d7c17086e51064e4d73b7 /utils/runghc
parent330bb3ef856166d18d959b377f12a51c2629b223 (diff)
downloadhaskell-d5e4874833054f1789289c433be292ae3e9bd7d0.tar.gz
Change all hashbangs to /usr/bin/env (#9057)
Summary: ``` git grep -l '#!' | xargs sed -i 's|#!.*/bin/\([^ ]*\)$|#!/usr/bin/env \1|' ``` and some manual tweaking Test Plan: harbormaster Reviewers: austin Subscribers: hvr, simonmar, ezyang, carter Differential Revision: https://phabricator.haskell.org/D237 GHC Trac Issues: #9057
Diffstat (limited to 'utils/runghc')
-rw-r--r--utils/runghc/runghc.hs2
1 files changed, 1 insertions, 1 deletions
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: