summaryrefslogtreecommitdiff
path: root/net-im/fractal/files/patch-scripts_cargo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/fractal/files/patch-scripts_cargo.sh')
-rw-r--r--net-im/fractal/files/patch-scripts_cargo.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/fractal/files/patch-scripts_cargo.sh b/net-im/fractal/files/patch-scripts_cargo.sh
index a602980a268f..6baeeb352406 100644
--- a/net-im/fractal/files/patch-scripts_cargo.sh
+++ b/net-im/fractal/files/patch-scripts_cargo.sh
@@ -12,9 +12,9 @@
then
echo "DEBUG MODE"
- cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp "$CARGO_TARGET_DIR"/debug/fractal-gtk "$OUTPUT"
-+ cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp "$CARGO_TARGET_DIR"/"$CARGO_BUILD_TARGET"/debug/fractal-gtk "$OUTPUT"
++ cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp "$CARGO_TARGET_DIR"/debug/fractal-gtk "$OUTPUT"
else
echo "RELEASE MODE"
- cargo build --manifest-path $1/Cargo.toml --release -p fractal-gtk && cp "$CARGO_TARGET_DIR"/release/fractal-gtk "$OUTPUT"
-+ cargo build --manifest-path $1/Cargo.toml --release -p fractal-gtk && cp "$CARGO_TARGET_DIR"/"$CARGO_BUILD_TARGET"/release/fractal-gtk "$OUTPUT"
++ cargo build --manifest-path $1/Cargo.toml --release -p fractal-gtk && cp "$CARGO_TARGET_DIR"/release/fractal-gtk "$OUTPUT"
fi