From 7d1e359c08447053cd96ea679713e6f98f6c0a97 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 12 Jul 2010 16:24:52 +0200 Subject: [PATCH] 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 --- scripts/unpack | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/unpack b/scripts/unpack index 22a8523cfb..502f5c9d2c 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -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`