cleaner package names

This commit is contained in:
Izaya 2020-06-06 19:53:10 +10:00
parent 94a7051112
commit 49c0b930f9
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
for dir in $(find -maxdepth 1 -not -path '*/\.*' -not -path '\.' -type d); do
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