Skip to content

Commit

Permalink
Merge pull request #291 from Piotr1215/patch-1
Browse files Browse the repository at this point in the history
Fix: correct string comparison operator for compatibility with sh
  • Loading branch information
michaelb authored Jul 24, 2024
2 parents 71cf814 + d087b21 commit c1a677b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local_version="v$(grep ^version Cargo.toml | cut -d "\"" -f 2)"

force_build=$1
current_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$current_branch" == "dev" ]; then
if [ "$current_branch" = "dev" ]; then
force_build=1
fi

Expand Down

0 comments on commit c1a677b

Please sign in to comment.