Skip to content

Commit 1d3e539

Browse files
committed
Make sh scripts work on sh
1 parent 3f70b5c commit 1d3e539

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -eu
22
{ set +x; } 2>/dev/null
3-
SOURCE="${BASH_SOURCE[0]}"
3+
SOURCE=$0
44
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
55

66
OS="Mac"

pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -eu
22
{ set +x; } 2>/dev/null
3-
SOURCE="${BASH_SOURCE[0]}"
3+
SOURCE=$0
44
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
55

66
OS="Mac"

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh -eu
22
{ set +x; } 2>/dev/null
3-
SOURCE="${BASH_SOURCE[0]}"
3+
SOURCE=$0
44
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
55

66
OS="Mac"

0 commit comments

Comments
 (0)