Skip to content

Commit bcd3220

Browse files
committed
templates/rust: force remove lingering files in case sometimes they are missing
Signed-off-by: Kaiyang Wu <origincode@aosc.io>
1 parent f219aa4 commit bcd3220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/15-rust.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ build_rust_install() {
118118
install -Dvm755 "$SRCDIR"/target/release/"$i" -t "$PKGDIR"/usr/lib/
119119
done
120120
abinfo 'Dropping lingering files ...'
121-
rm -v "$PKGDIR"/usr/.crates{.toml,2.json}
121+
rm -fv "$PKGDIR"/usr/.crates{.toml,2.json}
122122
BUILD_FINAL
123123
}
124124

0 commit comments

Comments
 (0)