Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 19 lines (14 sloc) 0.374 kb
a63cea8 Sergei Trofimovich Initial commit.
authored
1 #!/bin/bash
2
3 [[ -z $1 ]] && {
4 echo "usage $0 <ebuild-tree>"
5 exit 1
6 }
7
8 tree_root=$1
9
10 shopt -s nullglob
11
12 for c in $(< "$tree_root/profiles/categories"); do
13 for pkg in "$tree_root"/$c/*; do
14 is_empty() { [[ -z $@ ]]; }
15 [[ $pkg != */CVS ]] && [[ $pkg != */metadata.xml ]] &&
16 is_empty $pkg/*.ebuild && echo "${pkg#${tree_root}/}"
17 done
18 done
Something went wrong with that request. Please try again.