[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
- [lmi-commits] [lmi] master updated (2a7f972 -> c8de75e), Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master 0b4d84b 2/7: Prefer $PWD to $(pwd), Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master bf52d55 6/7: Require a valid pre-commit hook to exist, Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master 68cc423 4/7: Regularize readlink options,
Greg Chicares <=
- [lmi-commits] [lmi] master f92ba83 3/7: Allow backup of old .git/hooks to fail, Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master 1e1716f 5/7: Assert rather than assume, Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master 030f1c5 1/7: Fix incorrect command order, Greg Chicares, 2017/11/16
- [lmi-commits] [lmi] master c8de75e 7/7: Show symlink in a few of its many guises, Greg Chicares, 2017/11/16