PsychOSPackages/buildall.sh

7 lines
220 B
Bash
Executable File

#!/bin/bash
for dir in $(find -maxdepth 1 -not -path '*/\.*' -not -path '\.' -type d | cut -d '/' -f 2); do
VER="$(git log -n 1 --pretty=format:%h -- "$dir")"
VER=${VER:-$2}
lua5.3 makepkg.lua "$dir" "$1" "$VER"
done