Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created April 12, 2014 05:19
Show Gist options
  • Save hiroyuki-sato/10519948 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/10519948 to your computer and use it in GitHub Desktop.
ls -d pkgs/* | grep -v 'ec2' | grep -v linux-image | xargs -i -n 1 git submodule update --init {}
pkgs=$( find pkgs -maxdepth 1 -type d -print | \
grep -v 'ec2' | grep -v linux-image | \
awk -F/ 'NR > 1{ print $NF }' | sort )
for i in $pkgs ; do
echo -n "$i: "
make $i > $i.log 2>&1
echo $?
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment