#!/bin/bash
if [ ! $1 ]; then
	echo "syntax: run-parts directory"
	exit
fi

for i in $1/*; do
	[ -x $i ] && $i
done
