Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanek Bevendorff <janek@jbev.net>2017-02-01 02:53:58 +0300
committerJanek Bevendorff <janek@jbev.net>2017-02-01 02:53:58 +0300
commite12cd83b80689d78e64e3132f3b69cabcd255f0b (patch)
treed5ec3c24766f5d1b86087bc60e707b790c62ee34 /release-tool
parent040b4763595f9ee69b5249918e3d1760d402e242 (diff)
Check for existence of realpath instead of operating system
Diffstat (limited to 'release-tool')
-rwxr-xr-xrelease-tool2
1 files changed, 1 insertions, 1 deletions
diff --git a/release-tool b/release-tool
index 11fdf501e..be6bbc7aa 100755
--- a/release-tool
+++ b/release-tool
@@ -246,7 +246,7 @@ checkTransifexCommandExists() {
# re-implement realpath for OS X (thanks mschrag)
# https://superuser.com/questions/205127/how-to-retrieve-the-absolute-path-of-an-arbitrary-file-from-the-os-x
-if [ "$(uname -s)" == "Darwin" ]; then
+if $(command -v realpath > /dev/null); then
realpath() {
pushd . > /dev/null
if [ -d "$1" ]; then