blob: 4d32bf18b547085c4af24df52e82c2c9a798b82f [file] [log] [blame]
Neels Hofmeyr693355e2018-06-11 17:14:31 +02001#!/usr/bin/env python3
2import os
3import os.path
4import sys
5import subprocess
6
7base_dir = os.getcwd()
8
9for p in list(os.listdir('.')):
10 subdir = os.path.join(base_dir, p)
11 if not os.path.isdir(os.path.join(subdir, '.git')):
12 continue
13 print("\n===== %s =====" % p)
14 os.chdir(subdir)
15 subprocess.call(sys.argv[1:])