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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user