From b367e105fab5d085ffca52c1ad565caf9f8c2599 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sat, 11 Feb 2017 17:08:53 +0100 Subject: [PATCH] re-implement realpath when it does NOT exist --- release-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-tool b/release-tool index 3a69691cc..7290d9621 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/ -if $(command -v realpath > /dev/null); then +if ! $(command -v realpath > /dev/null); then realpath() { pushd . > /dev/null if [ -d "$1" ]; then