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 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