From d5e451f4b194b7fcb8e8553c7ed09b61252a6c31 Mon Sep 17 00:00:00 2001 From: myfreeweb Date: Wed, 12 Sep 2018 13:38:20 +0000 Subject: [PATCH] cargo.sh: use single brackets for shell compatibility /bin/sh on FreeBSD does not support [[ --- scripts/cargo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cargo.sh b/scripts/cargo.sh index ad89e247..da15a769 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -7,7 +7,7 @@ export FRACTAL_NAME_SUFFIX="$5" export FRACTAL_VERSION="$6" export FRACTAL_PROFILE="$7" -if [[ "$FRACTAL_PROFILE" == "Devel" ]] +if [ "$FRACTAL_PROFILE" = "Devel" ] then echo "DEBUG MODE" cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp $1/target/debug/fractal-gtk $2