summaryrefslogtreecommitdiff
path: root/dependency-graph
diff options
context:
space:
mode:
Diffstat (limited to 'dependency-graph')
-rwxr-xr-xdependency-graph10
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