Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4637df9

Browse files
committed
chore(scripts): use bash from path variable in shebang
1 parentf0c3d64 commit4637df9

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/envbash
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/envbash
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)

[8]ページ先頭

©2009-2025 Movatter.jp