summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/trees b/script/trees
index 227b2216..01df28a0 100755
--- a/script/trees
+++ b/script/trees
@@ -36,9 +36,7 @@ main()
project="${OPTARG#src/}"; shift 2
done
[ -z "$_f" ] && $err "missing flag (-m/-u/-b/-c/-x/-f/-s/-l/-n)"
- [ -z "$project" ] && for p in $(ls -1 config/git); do
- ./mk $_f "$p" || $err "!./mk $_f $p"; :
- done && return 1
+ [ -z "$project" ] && mk $_f $(ls -1 config/git) && return 1
[ -f "config/git/$project/pkg.cfg" ] || $err "'$project' not defined"