#!/bin/bash cd "${BASH_SOURCE%/*}" # directory of the script for x in *; do if [[ $x == update-builds || ! -x $x || -d $x ]]; then continue fi $x -u done