#!/bin/bash for dir in $(find -maxdepth 1 -not -path '*/\.*' -not -path '\.' -type d | cut -d '/' -f 2); do echo lua makepkg.lua "$dir" "$1" "$(git rev-parse --short HEAD)" lua makepkg.lua "$dir" "$1" "$(git rev-parse --short HEAD)" done