mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +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*/
|
cp -PRf $PKG_DIR/sources/* $BUILD/$1*/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
[ -f $PKG_DIR/after_unpack ] && $PKG_DIR/after_unpack $@ >&$VERBOSE_OUT
|
||||||
|
|
||||||
for i in $PKG_DIR/patches/*.diff*; do
|
for i in $PKG_DIR/patches/*.diff*; do
|
||||||
if [ -f $i ]; then
|
if [ -f $i ]; then
|
||||||
PATCH=`basename $i`
|
PATCH=`basename $i`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user