From 115546a99e8bacb45ad5b974d9e3d96e7d4142d0 Mon Sep 17 00:00:00 2001 From: Adrian Sieber Date: Thu, 13 Jun 2024 08:38:32 +0000 Subject: [PATCH] Use `/usr/bin/env` for Python and Stack --- shebang-scripts/today/haskell | 4 +++- shebang-scripts/today/python | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shebang-scripts/today/haskell b/shebang-scripts/today/haskell index fda9e58..b435011 100755 --- a/shebang-scripts/today/haskell +++ b/shebang-scripts/today/haskell @@ -1,6 +1,8 @@ -#! /Users/adrian/.ghcup/bin/stack +#! /usr/bin/env stack -- stack script --package time --snapshot lts-22.22 +-- TODO: Absolute path to `stack` needs to be the same in CI and local + import Data.Time main :: IO () diff --git a/shebang-scripts/today/python b/shebang-scripts/today/python index 6028772..dba0f94 100755 --- a/shebang-scripts/today/python +++ b/shebang-scripts/today/python @@ -1,4 +1,5 @@ -#! /Users/adrian/.rye/shims/python +#! /usr/bin/env python +# TODO: Absolute path to bun needs to be the same in CI and local import datetime