summaryrefslogtreecommitdiffstats
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 7ceaeff69..617b03898 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