We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3faab5 commit 1eee4a4Copy full SHA for 1eee4a4
install/usr/local/bin/restore
@@ -78,7 +78,7 @@ fi
78
get_filename() {
79
COLUMNS=12
80
prompt="Please select a file to restore:"
81
- options=( $(find "${DB_DUMP_TARGET}" -type f -maxdepth 1 -not -name '*.md5' -not -name '*.sha1' -print0 | xargs -0) )
+ options=( $(find "${DB_DUMP_TARGET}" -type f -maxdepth 1 -not -name '*.md5' -not -name '*.sha1' -print0 | sort -z | xargs -0) )
82
PS3="$prompt "
83
select opt in "${options[@]}" "Custom" "Quit" ; do
84
if (( REPLY == 2 + ${#options[@]} )) ; then
0 commit comments