mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 08:49:58 +00:00
build: ignore PKG_SOURCE_DIR when not required
This commit is contained in:
parent
01b9aae849
commit
7a428cd73b
@ -85,10 +85,12 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$PKG_SOURCE_DIR" ]; then
|
||||
mv $BUILD/$PKG_SOURCE_DIR $BUILD/$PKG_NAME-$PKG_VERSION
|
||||
elif [ -d $BUILD/$PKG_NAME-$PKG_VERSION* -a ! -d $BUILD/$PKG_NAME-$PKG_VERSION ]; then
|
||||
mv $BUILD/$PKG_NAME-$PKG_VERSION* $BUILD/$PKG_NAME-$PKG_VERSION
|
||||
if [ ! -d $BUILD/$PKG_NAME-$PKG_VERSION ]; then
|
||||
if [ -n "$PKG_SOURCE_DIR" ]; then
|
||||
mv $BUILD/$PKG_SOURCE_DIR $BUILD/$PKG_NAME-$PKG_VERSION
|
||||
elif [ -d $BUILD/$PKG_NAME-$PKG_VERSION* ]; then
|
||||
mv $BUILD/$PKG_NAME-$PKG_VERSION* $BUILD/$PKG_NAME-$PKG_VERSION
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d "$PKG_DIR/sources" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user