#!/bin/bash set -e cd "$(dirname "$0")" for d in */; do (cd "$d" && sudo make clean install) done