projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8199479
)
ar71xx: fix typo in platform_do_upgrade_compex()
author
Rafał Miłecki
<rafal@milecki.pl>
Mon, 16 Sep 2019 04:59:09 +0000
(06:59 +0200)
committer
RISCi_ATOM
<bob@bobcall.me>
Tue, 17 Sep 2019 13:36:42 +0000
(09:36 -0400)
Fixes:
a71742882855
("treewide: use new procd sysupgrade $UPGRADE_BACKUP variable")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit
63d611390c4d34a838e744e278529f30f9d2cc20
)
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
b/target/linux/ar71xx/base-files/lib/upgrade/platform.sh
index b24467f87969f99c010d41205326d300bf431d85..f211ce7156983582b214e7fd4eaf838809961a83 100755
(executable)
--- a/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
@@
-164,7
+164,7
@@
platform_do_upgrade_compex() {
if [ -n "$fw_mtd" ] && [ ${fw_blocks:-0} -gt 0 ]; then
local append=""
- [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUP
s
"
+ [ -f "$UPGRADE_BACKUP" ] && append="-j $UPGRADE_BACKUP"
sync
dd if="$fw_file" bs=64k skip=1 count=$fw_blocks 2>/dev/null | \