main/nfs-utils: incorrect if statement

This commit is contained in:
Carlo Landmeter 2013-01-07 12:42:34 +01:00
parent 5f072c1676
commit efab697c63

View File

@ -35,8 +35,10 @@ prepare() {
patch -p0 -i "${i}" || return 1
done
# fix build on eglibc
sed -i -e '/^#include <libio.h>/d' \
support/include/sockaddr.h || return 1
if [ "$ALPINE_LIBC" != "eglibc" ]; then
sed -i -e '/^#include <libio.h>/d' \
support/include/sockaddr.h || return 1
fi
# busybox install fix
sed -i 's/--mode 755/-m755/g' \
tools/nfs-iostat/Makefile.am \