From 253baa3a77171c586debd65d7ff71624df3b2466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9di-R=C3=A9mi=20Hashim?= Date: Wed, 4 Feb 2015 16:42:52 +0000 Subject: [PATCH] Reorder arguments of find to suppress warning --- bin/n | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/n b/bin/n index 48b4a82..b215496 100755 --- a/bin/n +++ b/bin/n @@ -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 .