From 335718dfdc786897a06bd6a2fed8e89688129b15 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@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/scripts/ipkg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openwrt/scripts/ipkg') diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 7ceaeff69c..617b038987 100755 --- a/openwrt/scripts/ipkg +++ b/openwrt/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