From f24510c078f4261f5b0bd5776f2c37ffb2ac637e Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Thu, 29 Nov 2018 22:02:15 +0000 Subject: [PATCH] scripts/cargo.sh: POSIX sh does not support [[ This will fix the build for those building on platforms like Debian / Ubuntu. --- scripts/cargo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cargo.sh b/scripts/cargo.sh index 023001c..8b5f46f 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -6,7 +6,7 @@ export APP_ID="$4" export VERSION="$5" export PROFILE="$6" -if [[ "$PROFILE" == "Devel" ]] +if test "$PROFILE" = "Devel" then echo "DEBUG MODE" cargo build -p podcasts-gtk && cp $1/target/debug/podcasts-gtk $2