ports/net-im/fractal/files/patch-scripts_cargo.sh
Steve Wills 1a80bb1732 net-im/fractal: create port
Fractal is a Gtk+ Matrix messaging client written in Rust.
Its interface is optimized for collaboration in large groups
such as free software projects.

WWW: https://wiki.gnome.org/Apps/Fractal

PR:		226683
Submitted by:	Greg V <greg@unrelenting.technology>
2018-10-09 18:06:15 +00:00

11 lines
384 B
Bash

--- scripts/cargo.sh.orig 2018-09-12 12:22:27 UTC
+++ scripts/cargo.sh
@@ -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