fix the "sed ... unterminated `s' command" error
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Feb 2006 23:36:31 +0000 (23:36 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Feb 2006 23:36:31 +0000 (23:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/scripts/ipkg

index 7ceaeff..617b038 100755 (executable)
@@ -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
This page took 0.027763 seconds and 4 git commands to generate.