compat-drivers: run refresh for all patches
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 29 Nov 2012 15:24:40 +0000 (16:24 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Thu, 29 Nov 2012 21:20:58 +0000 (13:20 -0800)
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@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
scripts/admin-update.sh

index 10a2598e045700e07f3981bc7ca31411ad0752a8..cdc5ce56d2ed60aee9a7ed875f1e9d3c0ef336bf 100755 (executable)
@@ -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