summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-21 09:42:20 +0100
committerErich Eckner <git@eckner.net>2019-11-21 09:42:20 +0100
commit82fcec531ba77a16071dae63ddf57ebc28d2ab1e (patch)
tree230dba6c61bc77710386fe4e816d5f0fd93489f2
parent3fdc888c1827cb313976ab9f57668f1760084250 (diff)
downloadbuilder-82fcec531ba77a16071dae63ddf57ebc28d2ab1e.tar.xz
bin/bisect-database-dumps: files should be sorted by filename
-rwxr-xr-xbin/bisect-database-dumps3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bisect-database-dumps b/bin/bisect-database-dumps
index 700e332..d788d1f 100755
--- a/bin/bisect-database-dumps
+++ b/bin/bisect-database-dumps
@@ -4,7 +4,8 @@
# appeared first
dumps=$(
- find '/data/backup/mysql' -mindepth 1 -maxdepth 1 -name 'database-*.xz' -exec ls -tr {} +
+ find '/data/backup/mysql' -mindepth 1 -maxdepth 1 -name 'database-*.xz' -exec ls -tr {} + \
+ | sort
)
has=$(