PsychOSPackages/buildall.sh

7 lines
220 B
Bash
Raw Normal View History

2020-06-06 18:37:32 +10:00
#!/bin/bash
2020-06-06 19:53:10 +10:00
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"
2020-06-06 18:37:32 +10:00
done