IMP: sort find result by name and version to ease reading

This commit is contained in:
Charles Herlin 2019-02-01 09:42:12 +01:00
parent 3ff3bb209f
commit 58cb064919

View File

@ -6,7 +6,7 @@ files=""
retval=0
if [ $# -eq 0 ]; then
files=$(find . -name "*.sh")
files=$(find . -name "*.sh" | sort -V )
else
files="$*"
fi