Commit d5e451f4 authored by myfreeweb's avatar myfreeweb

cargo.sh: use single brackets for shell compatibility

/bin/sh on FreeBSD does not support [[
parent 1ee2e8ac
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment