#!/bin/sh for s in $(find tools/ -type f -iname "*.sh"); do [ -x $s ] && continue echo "fixing permissions for $s..." chmod +x $s done