From 8654e611cf6d4a6f1036d3fff4378fc7475ff326 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Sun, 30 Oct 2016 21:57:12 -0700 Subject: [PATCH] Use 'readlink -f' instead of 'realpath' Some distros do not ship the coreutils 'realpath', so use 'readlink -f' instead, which is equivalent for the usage here. Signed-off-by: Patrick McCarty --- test/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run.sh b/test/run.sh index 4d48a49..1d431f1 100755 --- a/test/run.sh +++ b/test/run.sh @@ -8,7 +8,7 @@ testnum=0 sudo rm -f *.diff *.out -libdir="$(realpath "../.libs")" +libdir="$(readlink -f "../.libs")" ldpath="LD_LIBRARY_PATH=$libdir" BSDIFF="sudo $ldpath valgrind -q $libdir/bsdiff" BSPATCH="sudo $ldpath valgrind -q $libdir/bspatch"