Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- scripts/admin-update.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index e7f9a1c..c75af30 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -247,6 +247,10 @@ patchRefresh() { mv -u $1/* patches.orig/ for i in patches.orig/*.patch; do + if [ ! -f "$i" ]; then + echo -e "${RED}No patches found in $1${NORMAL}" + break; + fi echo -e "${GREEN}Refresh backport patch${NORMAL}: ${BLUE}$i${NORMAL}" quilt import $i quilt push -f -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html