summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Peter <megastep@megastep.org>2023-03-11 19:10:38 -0800
committerStephane Peter <megastep@megastep.org>2023-03-11 19:10:38 -0800
commit44b91a2e37ccdc3a8fd119a7775dae993d3f00d3 (patch)
treea3019d25291ca7c8a33c5562e63d62bfe67ef5a5
parent32121537378ae36f009d2fef15209d090890c0cd (diff)
downloadmakeself-44b91a2e37ccdc3a8fd119a7775dae993d3f00d3.tar.gz
Needed to update testlinter script for readlink
-rw-r--r--test/run-testlinter.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-testlinter.sh b/test/run-testlinter.sh
index bdad2fb..ea3ef6a 100644
--- a/test/run-testlinter.sh
+++ b/test/run-testlinter.sh
@@ -20,7 +20,7 @@ testShStartsWith() {
echo ">> Test $file_name"
local etalon_head="$(printf '#!/bin/bash
set -eu
-THIS="$(realpath "$0")"
+THIS="$(readlink -f "$0")"
THISDIR="$(dirname "${THIS}")"
')"
assertEquals "$etalon_head" "$(cat "${test_sh}" | head -4)"