scripts/cargo.sh: POSIX sh does not support [[

This will fix the build for those building on platforms like Debian / Ubuntu.
This commit is contained in:
Michael Aaron Murphy 2018-11-29 22:02:15 +00:00
parent f9f0dad203
commit f24510c078

View File

@ -6,7 +6,7 @@ export APP_ID="$4"
export VERSION="$5" export VERSION="$5"
export PROFILE="$6" export PROFILE="$6"
if [[ "$PROFILE" == "Devel" ]] if test "$PROFILE" = "Devel"
then then
echo "DEBUG MODE" echo "DEBUG MODE"
cargo build -p podcasts-gtk && cp $1/target/debug/podcasts-gtk $2 cargo build -p podcasts-gtk && cp $1/target/debug/podcasts-gtk $2