Skip to content

Commit 8654e61

Browse files
committed
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 <[email protected]>
1 parent fb5ced7 commit 8654e61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ testnum=0
88

99
sudo rm -f *.diff *.out
1010

11-
libdir="$(realpath "../.libs")"
11+
libdir="$(readlink -f "../.libs")"
1212
ldpath="LD_LIBRARY_PATH=$libdir"
1313
BSDIFF="sudo $ldpath valgrind -q $libdir/bsdiff"
1414
BSPATCH="sudo $ldpath valgrind -q $libdir/bspatch"

0 commit comments

Comments
 (0)