projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: when copying a backup file always specify dest name
[openwrt/openwrt.git]
/
target
/
linux
/
sunxi
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/sunxi/base-files/lib/upgrade/platform.sh
b/target/linux/sunxi/base-files/lib/upgrade/platform.sh
index c8b0175fd58c56fadac29db3462e0e04df37274c..a5108c4c02269dd38fc7f416f3766bc91c4025fc 100644
(file)
--- a/
target/linux/sunxi/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/sunxi/base-files/lib/upgrade/platform.sh
@@
-30,7
+30,7
@@
platform_copy_config() {
if export_partdevice partdev 1; then
mount -t vfat -o rw,noatime "/dev/$partdev" /mnt
- cp -af "$CONF_TAR"
/mnt/
+ cp -af "$CONF_TAR"
"/mnt/$BACKUP_FILE"
umount /mnt
fi
}