scripts/unpack: add function to support 'after_unpack' scripts, running after unpack, before patching (for example to rename the extracted source packages)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-12 16:24:52 +02:00
parent 944e925153
commit 7d1e359c08

View File

@ -47,6 +47,8 @@ if [ -d $PKG_DIR/sources ]; then
cp -PRf $PKG_DIR/sources/* $BUILD/$1*/
fi
[ -f $PKG_DIR/after_unpack ] && $PKG_DIR/after_unpack $@ >&$VERBOSE_OUT
for i in $PKG_DIR/patches/*.diff*; do
if [ -f $i ]; then
PATCH=`basename $i`