From 32b8bfb796174e0b179f7ed5e175235a5876f8ef Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 14 Feb 2006 23:36:31 +0000 Subject: fix the "sed ... unterminated `s' command" error git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/ipkg | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3