summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/run4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/run b/bin/run
index 4fb369f149c4..a3acad6b4ae7 100755
--- a/bin/run
+++ b/bin/run
@@ -30,14 +30,14 @@ exec "${exedir}"/$@
else
-dir=$(realpath "$(pwd)")
+dir=$(readlink -f "$(pwd)")
while test ! -d "${dir}/instdir/program" ; do
if test "${dir}" = "/"; then
echo "error: cannot find \"program\" dir from \"$(pwd)\""
exit 1
fi
- dir=$(realpath "${dir}/..")
+ dir=$(readlink -f "${dir}/..")
done
exedir="${dir}"/workdir/LinkTarget/Executable