From e130ce53ce87f39f4bee3288d106c681e82dbb86 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 16 Feb 2014 23:54:14 +0000 Subject: tests: avoid executing dirname(1) command Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh index 474c21cb3..8a7924ae1 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -16,7 +16,7 @@ # GNU General Public License for more details. # -TS_TOPDIR=$(cd $(dirname $0) && pwd) +TS_TOPDIR=$(cd ${0%/*} && pwd) SUBTESTS= OPTS= -- cgit v1.2.3-55-g7522