From 7299276589557a4898312da6a900eedc7c839417 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 8 Jun 2019 00:24:28 +0200 Subject: [PATCH] :wrench: Improve test.sh portability --- tests/sh/plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sh/plugin.sh b/tests/sh/plugin.sh index 2a2beaac..953f68a5 100644 --- a/tests/sh/plugin.sh +++ b/tests/sh/plugin.sh @@ -32,7 +32,7 @@ rm "empty.so" BASE_DIR="$PWD" cd tests/import || exit for test_file in *.c -do test_plugin "${test_file:0:-2}" +do test_plugin "$(basename $test_file .c)" done # clean -- 2.43.0