lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 68cc423 4/7: Regularize readlink options


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 68cc423 4/7: Regularize readlink options
Date: Thu, 16 Nov 2017 11:09:55 -0500 (EST)

branch: master
commit 68cc423d54b92e117f368e5eafd3c2664f7f52db
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Regularize readlink options
    
    It was confusing to use '--canonicalize' in one place and '-f' in
    another because they mean exactly the same thing.
---
 check_git_setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check_git_setup.sh b/check_git_setup.sh
index 88663f7..3d151dd 100755
--- a/check_git_setup.sh
+++ b/check_git_setup.sh
@@ -24,7 +24,7 @@
 # Do this in the directory where this script resides, which is
 # deliberately the "toplevel" directory.
 
-cd $(dirname $(readlink --canonicalize $0))
+cd $(dirname $(readlink -f $0))
 
 # For msw (cygwin) only, make sure 'core.filemode' is "false". See:
 #   https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]