diff options
author | Erich Eckner <git@eckner.net> | 2019-07-18 14:20:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-18 14:20:44 +0200 |
commit | 5b4db2f764bd3028fb1c62082c064aeb07e999e3 (patch) | |
tree | 7f4b4c2ebdfe0164b15831f5dd720321195732ca /dependency-graph | |
parent | 11e8bedbd9f408e795a21d97c624cd93fc10255b (diff) | |
download | archlinuxewe.git.save-5b4db2f764bd3028fb1c62082c064aeb07e999e3.tar.xz |
dependency-graph: fix bug in sed
Diffstat (limited to 'dependency-graph')
-rwxr-xr-x | dependency-graph | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dependency-graph b/dependency-graph index d3096356..0f38f002 100755 --- a/dependency-graph +++ b/dependency-graph @@ -19,12 +19,12 @@ if [ $# -eq 2 ]; then all=$( sed -n ' /^pkgbase = /,/^$/ { - /^\s/ { - $! s/$/\\/ - p - } + /^\s/ p } - ' "${2}" + ' "${2}" \ + | sed ' + $! s/$/\\/ + ' ) sed -i ' /^pkgbase = /,/^$/ d |