Browse Source

[syslinux] Fixed the case where ITARGET is empty

early
Alejandro Mery 17 years ago
parent
commit
5b68a55c18
  1. 6
      x86/syslinux/syslinux.conf

6
x86/syslinux/syslinux.conf

@ -20,9 +20,9 @@ var_append makeopt ' ' '$ITARGET'
hook_add preconf 5 'syslinux_itarget_prepare'
syslinux_itarget_prepare() {
export ITARGET=$( grep ^ITARGET Makefile | cut -d= -f2- )
rm -v $ITARGET
export ITARGET=$( grep ^ITARGET Makefile | cut -d= -f2- | sed -e 's/^ *//' )
[ -z "$ITARGET" ] || rm -v $ITARGET
}
# install mkdiskimage

Loading…
Cancel
Save