summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopenwrt/scripts/ipkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg
index 7ceaeff69c..617b038987 100755
--- a/openwrt/scripts/ipkg
+++ b/openwrt/scripts/ipkg
@@ -607,8 +607,7 @@ s/ \+/ /g'`
ipkg_set_depends $pkg $new_deps
done
- new_deps=`echo $new_deps | sed -e 's/[[:space:]]\+/\\
-/g' | sort | uniq`
+ new_deps=`echo $new_deps | sed -e 's/[[:space:]]\+/\n/g' | sort | uniq`
local maybe_new_pkgs=
for pkg in $new_deps; do