From: Mike Baker Date: Tue, 14 Feb 2006 23:36:31 +0000 (+0000) Subject: fix the "sed ... unterminated `s' command" error X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d4cfc752103b0e437d41779bec821f826202c8d5;p=librecmc%2Flibrecmc.git fix the "sed ... unterminated `s' command" error SVN-Revision: 3241 --- 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