mmv: fix template which uses set -e

This commit is contained in:
Leah Neukirchen 2024-09-11 15:23:05 +02:00
parent 38cd1b84e3
commit fc05df8784
1 changed files with 3 additions and 1 deletions

View File

@ -14,5 +14,7 @@ checksum=11346686634000e22aa909e08d9d450237c4b61062779935cbd81df78efad72d
pre_build() {
rm -f mmv.1
[ "$CROSS_BUILD" ] && vsed -i 's:./mmv:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:' build-aux/mmv-help2man-wrapper
if [ "$CROSS_BUILD" ]; then
vsed -i 's:./mmv:/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static &:' build-aux/mmv-help2man-wrapper
fi
}