cargo.sh: use single brackets for shell compatibility
/bin/sh on FreeBSD does not support [[
This commit is contained in:
parent
1ee2e8acea
commit
d5e451f4b1
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ export FRACTAL_NAME_SUFFIX="$5"
|
||||||
export FRACTAL_VERSION="$6"
|
export FRACTAL_VERSION="$6"
|
||||||
export FRACTAL_PROFILE="$7"
|
export FRACTAL_PROFILE="$7"
|
||||||
|
|
||||||
if [[ "$FRACTAL_PROFILE" == "Devel" ]]
|
if [ "$FRACTAL_PROFILE" = "Devel" ]
|
||||||
then
|
then
|
||||||
echo "DEBUG MODE"
|
echo "DEBUG MODE"
|
||||||
cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp $1/target/debug/fractal-gtk $2
|
cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp $1/target/debug/fractal-gtk $2
|
||||||
|
|
Loading…
Reference in a new issue