From 5f9cede471e06ba46dadbe8e64d9acf15e2e0abf Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 20 Oct 2019 16:33:54 +0000 Subject: build system: configure: replace dirname(1) with command language primitives. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f7fae02..92d1bd8 100755 --- a/configure +++ b/configure @@ -49,7 +49,7 @@ warning_msg() init_vars() { - mb_project_dir=$(cd -- "$(dirname "$mb_script")" ; pwd -P) + mb_project_dir=$(cd -- "${mb_script%/*}/" ; pwd -P) mb_pwd=$(pwd -P) mb_custom_cfgdefs_args='' -- cgit v1.2.3