summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-02-14 23:36:31 +0000
committerMike Baker <mbm@openwrt.org>2006-02-14 23:36:31 +0000
commitd4cfc752103b0e437d41779bec821f826202c8d5 (patch)
tree33e909f7da87589e90a4c3745d0d3708f04353ba
parentea1c0bfb48ed20db209e2b15f2b23d8962e2b133 (diff)
downloadmtk-20170518-d4cfc752103b0e437d41779bec821f826202c8d5.zip
mtk-20170518-d4cfc752103b0e437d41779bec821f826202c8d5.tar.gz
mtk-20170518-d4cfc752103b0e437d41779bec821f826202c8d5.tar.bz2
fix the "sed ... unterminated `s' command" error
SVN-Revision: 3241
-rwxr-xr-xopenwrt/scripts/ipkg3
1 files changed, 1 insertions, 2 deletions
diff --git a/openwrt/scripts/ipkg b/openwrt/scripts/ipkg
index 7ceaeff..617b038 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