aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ipkg
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-02-14 23:36:31 +0000
committerMike Baker <mbm@openwrt.org>2006-02-14 23:36:31 +0000
commit97bc9b746865628aeee5818830a831ab78e7857e (patch)
tree202c4a5b02d0e65d368cded6bcf5416441f1f13d /scripts/ipkg
parent21bf964c71c7680be32664c6f50fa3b569fbf87e (diff)
downloadupstream-97bc9b746865628aeee5818830a831ab78e7857e.tar.gz
upstream-97bc9b746865628aeee5818830a831ab78e7857e.tar.bz2
upstream-97bc9b746865628aeee5818830a831ab78e7857e.zip
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 7ceaeff69c..617b038987 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