about summary refs log tree commit diff
path: root/xsubpkg
blob: 1cb90664d1175943ce6d8b7d3241d563a1c8e2e7 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
# xsubpkg PKG - lists all subpackages of a package

PKG=$1
cd $(xdistdir)
find -L srcpkgs -maxdepth 2 -samefile srcpkgs/"$PKG"/template | cut -d/ -f 2