release: Fix typo in powerpc mkisoimages.sh

"[ n foo ]" is an error and should have been "[ -n foo ]".

Fortunately the only ill effect was to result in garbage in /tmp/ when
creating powerpc ISO images.

Fixes:	6c3e01bf85 ("release: Randomize powerpc boot block file name")
MFC after:	3 days
Sponsored by:	https://www.patreon.com/cperciva
This commit is contained in:
Colin Percival
2025-09-15 18:09:05 -07:00
parent b050bfa88d
commit 8c9a919aba
+1 -1
View File
@@ -112,7 +112,7 @@ if [ -n "${METALOG}" ]; then
fi
${MAKEFS} -D -N ${BASEBITSDIR}/etc -t cd9660 $bootable -o rockridge -o label="$LABEL" -o publisher="$publisher" "$NAME" "$MAKEFSARG" "$@"
rm -f "$BASEBITSDIR/etc/fstab"
if [ n "$bootable" ]; then
if [ -n "$bootable" ]; then
rm $BOOTBLOCK
fi
rm -rf "$BASEBITSDIR/ppc"