summaryrefslogtreecommitdiffstats
path: root/scripts/ipkg
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-14 23:36:31 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-14 23:36:31 +0000
commit32b8bfb796174e0b179f7ed5e175235a5876f8ef (patch)
tree202c4a5b02d0e65d368cded6bcf5416441f1f13d /scripts/ipkg
parent6f218bee7795b49328ce6e433d578e78abf2cf34 (diff)
fix the "sed ... unterminated `s' command" error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/ipkg')
-rwxr-xr-xscripts/ipkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/ipkg b/scripts/ipkg
index 7ceaeff69..617b03898 100755
--- a/scripts/ipkg
+++ b/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