fix the "sed ... unterminated `s' command" error
authorMike Baker <mbm@openwrt.org>
Tue, 14 Feb 2006 23:36:31 +0000 (23:36 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 14 Feb 2006 23:36:31 +0000 (23:36 +0000)
SVN-Revision: 3241

openwrt/scripts/ipkg

index 7ceaeff69c066363edca1c96e602dc0892ce8bf2..617b038987d26f8cca49506e3b3e17fde890cf8d 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