mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
buildsystem: always clean up $INSTALL / .$TARGET_NAME on rebuild
This commit is contained in:
parent
9029a76fa1
commit
ef272b04a7
@ -257,6 +257,16 @@ if [ ! -f $STAMP ]; then
|
|||||||
INSTALL=$ROOT/$PKG_BUILD/.install_init
|
INSTALL=$ROOT/$PKG_BUILD/.install_init
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# clean up
|
||||||
|
if [ ! -z "$INSTALL" ] ; then
|
||||||
|
if [ -d "$INSTALL" ] ; then
|
||||||
|
rm -rf $INSTALL
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ -d $PKG_BUILD/.$TARGET_NAME ] ; then
|
||||||
|
rm -rf $PKG_BUILD/.$TARGET_NAME
|
||||||
|
fi
|
||||||
|
|
||||||
# setup configure script
|
# setup configure script
|
||||||
if [ -z "$PKG_CONFIGURE_SCRIPT" ]; then
|
if [ -z "$PKG_CONFIGURE_SCRIPT" ]; then
|
||||||
PKG_CONFIGURE_SCRIPT="$ROOT/$PKG_BUILD/configure"
|
PKG_CONFIGURE_SCRIPT="$ROOT/$PKG_BUILD/configure"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user