mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
scripts/build: ensure that $PKG_BUILD is always created
... even if no unpack is called... closes #2811
This commit is contained in:
parent
b2e1dd195b
commit
1acc7271ba
@ -50,6 +50,11 @@ STAMP=$STAMPS/$PACKAGE_NAME/build_$TARGET
|
|||||||
|
|
||||||
$SCRIPTS/unpack $PACKAGE_NAME
|
$SCRIPTS/unpack $PACKAGE_NAME
|
||||||
|
|
||||||
|
# ensure $PKG_BUILD is there. (installer? PKG_URL="")
|
||||||
|
if [ ! -d $PKG_BUILD ] ; then
|
||||||
|
mkdir $PKG_BUILD
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/package.mk ]; then
|
if [ -f $PKG_DIR/package.mk ]; then
|
||||||
if [ -f $STAMP -a $PKG_DIR/package.mk -nt $STAMP ]; then
|
if [ -f $STAMP -a $PKG_DIR/package.mk -nt $STAMP ]; then
|
||||||
rm -f $STAMP
|
rm -f $STAMP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user