From 10ce4624124814a5e7195e12be4264a6a3326e4e Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 9 Aug 2019 23:37:42 +0100 Subject: [PATCH] [build] Use find instead of ls --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index fc9b2de..22f6947 100755 --- a/build +++ b/build @@ -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 $?; }