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