base-files: fix sysupgrade 'wget' handling
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2016 09:41:58 +0000 (09:41 +0000)
commitf57419d26e4efd86ade6095f6c9660374f9544a0
tree497ed5453a8d78ea92d32a4867182b2a7fcc77b7
parent158f5b8d7aed9309d6f3a3b900a3215e0954f98e
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>
SVN-Revision: 48451
package/base-files/files/lib/upgrade/common.sh