mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
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:
parent
944e925153
commit
7d1e359c08
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user