[PATCH 4/5] compat-drivers: run refresh for all patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the past refresh with quilt was just run for the last patch
directory being applied and not for all, because our script had
problems when patchRefresh() was called more then once in a single
admin-update.sh run. This was fixed in the last patch and now it is
safe to run it on all patches.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 scripts/admin-update.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 10a2598..cdc5ce5 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -690,7 +690,7 @@ for subsystem in $SUBSYSTEMS; do
 			echo -e "${RED}Patches: $PATCHDIR empty, skipping...${NORMAL}"
 			continue
 		fi
-		if [[ $LAST_ELEM = $dir && "$REFRESH" = y ]]; then
+		if [[ "$REFRESH" = y ]]; then
 			patchRefresh $PATCHDIR
 		fi
 
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux