diff --git a/scripts/unpack b/scripts/unpack index 45b935e095..246dd148a4 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -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