Skip to content

Commit 4637df9

Browse files
committed
chore(scripts): use bash from path variable in shebang
1 parent f0c3d64 commit 4637df9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/cd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Immediate exit on failure
44
set -e

scripts/helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Check if the directory is provided as an argument
44
if [ $# -lt 1 ] || [ $# -gt 2 ]; then
@@ -45,4 +45,4 @@ elif [ "$2" = "-p" ] || [ "$2" = "--path-version" ]; then
4545
else
4646
echo "Invalid option: '$2'"
4747
exit 1
48-
fi
48+
fi

0 commit comments

Comments
 (0)