[build] Use find instead of ls

This commit is contained in:
Starbeamrainbowlabs 2019-08-09 23:37:42 +01:00
parent 18b25c6dc4
commit 10ce462412
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

2
build
View File

@ -118,7 +118,7 @@ SFTPCOMMANDS
task_upload-release() {
task_begin "Uploading release .deb file(s)";
# We grab from ARCHIVE here, as we expect that only archived .deb files are final & stable.
_upload_deb "$(ls -ct "${ARCHIVE}/*.deb" | head -n1)";
_upload_deb "$(find "${ARCHIVE}" -name "*.deb" | head -n1)";
task_end $?;
}