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
|
2023-08-05 15:47:15 +10:00
|
|
|
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
|