mirror of
https://github.com/ovh/debian-cis.git
synced 2024-12-23 22:45:23 +01:00
IMP: sort find result by name and version to ease reading
This commit is contained in:
parent
35e7c32426
commit
a6a09c5a5d
@ -6,7 +6,7 @@ files=""
|
||||
retval=0
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
files=$(find . -name "*.sh")
|
||||
files=$(find . -name "*.sh" | sort -V )
|
||||
else
|
||||
files="$*"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user