optimise sign

This commit is contained in:
ferrreo 2023-09-05 12:52:11 +01:00
parent 983b0db171
commit d2023a5789
3 changed files with 4 additions and 4 deletions

BIN
ppp

Binary file not shown.

View File

@ -167,15 +167,15 @@ func signFiles(path string) {
count := 0
totalCount := len(files)
filePath := "\""
filePath := ""
for _, file := range files {
totalCount--
if count < 100 && totalCount > 0 {
if count < 10 && totalCount > 0 {
count++
filePath = filePath + " " + path + file
} else {
count = 0
filePath = filePath + " " + path + file + "\""
filePath = filePath + " " + path + file
signQueue <- filePath
}
}

View File

@ -39,7 +39,7 @@ echo "Getting ubuntu main pool 64bit"
cd ../
if [ ! -e ./output/*.deb ]; then
if [ $(ls | wc -l) -l 1 ]; then
echo "Repos are synced"
exit 0
fi