diff options
author | John Zimmermann <johnz@posteo.net> | 2019-05-15 21:27:29 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2019-05-15 21:43:16 +0200 |
commit | c06c792a23da5c8335afcff62595c6cf9b1ce3a7 (patch) | |
tree | fa2070a327c9aa04ca311cdd374242c43083826c | |
parent | f4a24c2bf9bcffa9a84f82efafebe3639e44f1a0 (diff) | |
download | xtools-c06c792a23da5c8335afcff62595c6cf9b1ce3a7.tar.gz xtools-c06c792a23da5c8335afcff62595c6cf9b1ce3a7.tar.xz xtools-c06c792a23da5c8335afcff62595c6cf9b1ce3a7.zip |
xbulk: don't blindly strip the first line of show-build-deps
./xbp-src show-build-deps $pkg does start in the first line with returning dependencies, the current behaviour just stripped the first one
-rwxr-xr-x | xbulk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbulk b/xbulk index 5da3c74..e048383 100755 --- a/xbulk +++ b/xbulk @@ -25,7 +25,7 @@ done for pkg in $PKGS; do echo all: pkg-$pkg for dep in $(./xbps-src $ARGS show-build-deps $pkg | - sed '1d;s|[<>].*$||g'); do + sed 's|[<>].*$||g'); do mainpkg $dep | grep -Fx "$PKGS" | sed 's/^/pkg-'$pkg': pkg-/' |