From 01453be0f1cdfbbac1eb2a99991bfa1958537b98 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 30 Sep 2014 15:04:22 +0200 Subject: xsubpkg: new tool which searches for all subpackages of a package. --- xsubpkg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 xsubpkg (limited to 'xsubpkg') 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 -- cgit 1.4.1