Skip to content

Commit 2c99a44

Browse files
committed
fix linux check for sh
Signed-off-by: BlackEagle <[email protected]>
1 parent abfd3ca commit 2c99a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

environment

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ init_environment() {
1515

1616

1717
uname=$(uname)
18-
if [ "$uname" == "Linux" ]; then
18+
if [ "$uname" = "Linux" ]; then
1919
cd "$(dirname "$(readlink -f "$0")")"
2020
else
2121
cd "$(cd "$(dirname "$0")"; pwd -P)"

0 commit comments

Comments
 (0)