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:
parent
f9f0dad203
commit
f24510c078
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user