From 335718dfdc786897a06bd6a2fed8e89688129b15 Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 14 Feb 2006 23:36:31 +0000 Subject: [PATCH] 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(-) diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg index 7ceaeff69..617b03898 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