1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-24 10:45:02 +00:00

[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

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 $?;
}