projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307c7ce
)
compat-wireless: Fix refresh script if no patches are available
author
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 21 Feb 2010 14:27:50 +0000
(15:27 +0100)
committer
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 22 Feb 2010 18:18:35 +0000
(10:18 -0800)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
scripts/admin-update.sh
patch
|
blob
|
history
diff --git
a/scripts/admin-update.sh
b/scripts/admin-update.sh
index e7f9a1c600a1d1a5fe2f57c38c022569e4569bf7..c75af30cd69d2065d6f26c705ffe440f61fa8ed6 100755
(executable)
--- 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