mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/unpack: force rebuild on scripts/* change
This commit is contained in:
parent
88636d5472
commit
275542d635
@ -56,9 +56,10 @@ for i in $BUILD/$1-*; do
|
||||
break
|
||||
fi
|
||||
done
|
||||
# trigger unpack / full rebuild on any patch change
|
||||
for patch in $PKG_DIR/patches/* $PKG_DIR/patches.upstream/*; do
|
||||
if [ -f "$patch" -a "$patch" -nt "$i/.openelec-unpack" ]; then
|
||||
# trigger unpack / full rebuild on any patch / script / etc.. change
|
||||
# TODO: rewwork $PKG_DIR/scripts -> $PKG_DIR/filesystem/....
|
||||
for file in $PKG_DIR/{patches,patches.upstream,scripts}/* ; do
|
||||
if [ -f "$file" -a "$file" -nt "$i/.openelec-unpack" ]; then
|
||||
CLEAN_SOURCE=yes
|
||||
break
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user