base-files: fix sysupgrade 'wget' handling
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
commit50b7177ec5591a8c0bb5b4523228ee6ea6c73932
tree7e40fd9fea430bff26457fa2fbf7f9f4e5a85def
parent8d7a4c3071d3aa0b8ac086a759b647574739cffc
base-files: fix sysupgrade 'wget' handling

with r48379 and r48386 the path of wget changed.
respect that and adjust the dirname.

this fixes #21680

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48451 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/base-files/files/lib/upgrade/common.sh