summaryrefslogtreecommitdiff
path: root/openwrt/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
commit335718dfdc786897a06bd6a2fed8e89688129b15 (patch)
treee350e8a2f9b8e28bc96613a2f5ab6f1aa30f8741 /openwrt/scripts/ipkg
parent3417086ca36bd04951b0490af41a54a5a6365047 (diff)
fix the "sed ... unterminated `s' command" error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/scripts/ipkg')
-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