mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/unpack: add support for scripts to rename builddirs before patching
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3076f4af72
commit
cb87a3dcc2
@ -66,6 +66,8 @@ if [ -n "$PKG_URL" ]; then
|
||||
$SCRIPTS/extract $1 "$1*.7z" $BUILD
|
||||
fi
|
||||
|
||||
[ -f "$PKG_DIR/rename" ] && $PKG_DIR/rename $@ >&$VERBOSE_OUT
|
||||
|
||||
if [ -d "$PKG_DIR/sources" ]; then
|
||||
[ ! -d "$BUILD/${PKG_NAME}-${PKG_VERSION}" ] && mkdir -p $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
cp -PRf $PKG_DIR/sources/* $BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||
|
Loading…
x
Reference in New Issue
Block a user