adapt scripts/unpack for elisa and alike packages to patch properly

This commit is contained in:
Stephan Raue 2009-04-19 22:47:28 +02:00
parent 0e515634a8
commit 7c4bbbd73d

View File

@ -56,7 +56,7 @@ for i in $PKG_DIR/patches/*.diff*; do
continue;
else
echo "## Applying patch: $i"
cat $i | patch -d $BUILD/$1* -p1 >&$VERBOSE_OUT
cat $i | patch -d `echo $BUILD/$1* | cut -f1 -d\ ` -p1 >&$VERBOSE_OUT
fi
fi
done