From 275542d635189b94906d4cc4be66257e8488d26a Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Thu, 12 Dec 2013 21:20:19 +0200 Subject: [PATCH] scripts/unpack: force rebuild on scripts/* change --- scripts/unpack | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/unpack b/scripts/unpack index ce862102b4..2039499534 100755 --- a/scripts/unpack +++ b/scripts/unpack @@ -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