0
0
mirror of https://github.com/tj/n.git synced 2024-11-22 11:37:26 +01:00

Reorder arguments of find to suppress warning

This commit is contained in:
Médi-Rémi Hashim 2015-02-04 16:42:52 +00:00
parent 75a3c8b181
commit 253baa3a77

2
bin/n
View File

@ -218,7 +218,7 @@ check_current_version() {
#
versions_paths() {
find $BASE_VERSIONS_DIR -type d -maxdepth 2 \
find $BASE_VERSIONS_DIR -maxdepth 2 -type d \
| sed 's|'$BASE_VERSIONS_DIR'/||g' \
| egrep "/[0-9]+\.[0-9]+\.[0-9]+$" \
| sort -k 1,1n -k 2,2n -k 3,3n -t .