scripts/unpack: also force rebuild on package version specific patch changes

This commit is contained in:
Stefan Saraev 2015-02-12 13:19:39 +02:00
parent 08b82622a5
commit 5f84ea64b8

View File

@ -56,7 +56,7 @@ for i in $BUILD/$1-*; do
done done
# trigger unpack / full rebuild on any patch / script / etc.. change # trigger unpack / full rebuild on any patch / script / etc.. change
# TODO: rewwork $PKG_DIR/scripts -> $PKG_DIR/filesystem/.... # TODO: rewwork $PKG_DIR/scripts -> $PKG_DIR/filesystem/....
for file in $PKG_DIR/{patches,scripts,config}/* $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/*.patch; do for file in $PKG_DIR/{patches,scripts,config}/* $PKG_DIR/patches/$PKG_VERSION/*.patch $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/*.patch; do
if [ -f "$file" -a "$file" -nt "$i/.openelec-unpack" ]; then if [ -f "$file" -a "$file" -nt "$i/.openelec-unpack" ]; then
CLEAN_SOURCE=yes CLEAN_SOURCE=yes
break break