diff options
author | Mike Baker <mbm@openwrt.org> | 2006-02-14 23:36:31 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-02-14 23:36:31 +0000 |
commit | 97bc9b746865628aeee5818830a831ab78e7857e (patch) | |
tree | 202c4a5b02d0e65d368cded6bcf5416441f1f13d /scripts | |
parent | 21bf964c71c7680be32664c6f50fa3b569fbf87e (diff) | |
download | upstream-97bc9b746865628aeee5818830a831ab78e7857e.tar.gz upstream-97bc9b746865628aeee5818830a831ab78e7857e.tar.bz2 upstream-97bc9b746865628aeee5818830a831ab78e7857e.zip |
fix the "sed ... unterminated `s' command" error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3241 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ipkg | 3 |
1 files changed, 1 insertions, 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 |