From 41e419428ca5b5d5d8467b9cd02cffaa13294fad Mon Sep 17 00:00:00 2001 From: Christopher Dilks Date: Thu, 28 Sep 2023 14:18:36 -0400 Subject: [PATCH] fix: avoid using `realpath` --- bin/env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/env.sh b/bin/env.sh index b4d0d2bb8..28d3ea18b 100644 --- a/bin/env.sh +++ b/bin/env.sh @@ -1,7 +1,7 @@ #!/bin/bash thisEnv=${BASH_SOURCE[0]:-$0} -export CLAS12DIR=$(realpath $(dirname $thisEnv)/..) +export CLAS12DIR=$(cd $(dirname $thisEnv)/.. && pwd -P) # Set default field maps (but do not override user's env): if [ -z "$COAT_MAGFIELD_TORUSMAP" ]; then