#!/bin/bash # TODO: use path from $distribdir in functions for d in /distrib/bootstrap/distrib/cauldron/SRPMS/*/*/ /distrib/bootstrap/distrib/cauldron/*/media/{core,nonfree,tainted}/*/ /distrib/bootstrap/distrib/cauldron/*/media/debug/{core,nonfree,tainted}/*/ do time createrepo_c --no-database --update --workers=10 $d done