From 4e9b209477afd348103f59ca80fce43f7da9f2a3 Mon Sep 17 00:00:00 2001 From: Thomas Harning Date: Tue, 24 Feb 2009 00:17:23 +0100 Subject: [PATCH] Fix lunit readlink usage for Mac OSX On Mac OSX (and probably other non-Linux *nixes) lunit's shell script uses the nonstandard option '-e' in its readlink command. The patch which will make it use '-f' which changes the behavior only by not requiring that the last component in the path exist. Not much of a problem for lunit's script in which it is known that it really does exist. Signed-off-by: Michael Roth --- lunit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lunit b/lunit index 3583c7e..0a59df1 100755 --- a/lunit +++ b/lunit @@ -33,7 +33,7 @@ if test $# = 0 ; then exit 1 fi -scriptname="$(readlink -n -e "$0")" +scriptname="$(readlink -n -f "$0")" interpreter="lua" options="" -- 2.11.4.GIT