service.openelec.settings: silence unpack errors

This commit is contained in:
Stefan Saraev 2013-08-07 17:50:54 +03:00
parent 58260c7164
commit 1168e3b5a6

View File

@ -30,7 +30,7 @@ mkdir -p $BUILD/${PKG_NAME}-${PKG_VERSION}
echo "### Applying upstream patches ###"
for patch in `ls $PKG_DIR/patches.upstream/*.patch`; do
for patch in `ls $PKG_DIR/patches.upstream/*.patch 2>/dev/null`; do
cat $patch | patch -d \
`echo $BUILD/$PKG_NAME-$PKG_VERSION | cut -f1 -d\ ` -p1
done