about summary refs log tree commit diff
path: root/xbulk
diff options
context:
space:
mode:
authorJohn Zimmermann <johnz@posteo.net>2019-05-15 21:27:29 +0200
committerLeah Neukirchen <leah@vuxu.org>2019-05-15 21:43:16 +0200
commitc06c792a23da5c8335afcff62595c6cf9b1ce3a7 (patch)
treefa2070a327c9aa04ca311cdd374242c43083826c /xbulk
parentf4a24c2bf9bcffa9a84f82efafebe3639e44f1a0 (diff)
downloadxtools-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
Diffstat (limited to 'xbulk')
-rwxr-xr-xxbulk2
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-/'