about summary refs log tree commit diff
path: root/xsubpkg
diff options
context:
space:
mode:
Diffstat (limited to 'xsubpkg')
-rwxr-xr-xxsubpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/xsubpkg b/xsubpkg
new file mode 100755
index 0000000..0a2f48e
--- /dev/null
+++ b/xsubpkg
@@ -0,0 +1,6 @@
+#!/bin/sh
+# xsubpkg PKG - lists all subpackages of a package
+
+PKG=$1
+cd `xdistdir`
+find -L srcpkgs -samefile srcpkgs/"$PKG"/template | cut -d/ -f 2