scripts/unpack: also consider project specific patches changes

This commit is contained in:
Stefan Saraev 2015-01-12 13:26:42 +02:00
parent ffa3ec4bd5
commit 73f974aa59

View File

@ -56,7 +56,7 @@ for i in $BUILD/$1-*; do
done
# 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
for file in $PKG_DIR/{patches,scripts}/* $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/*.patch; do
if [ -f "$file" -a "$file" -nt "$i/.openelec-unpack" ]; then
CLEAN_SOURCE=yes
break