From a66cd922eaf6aa04937b2fe3415ec3b9d6e5debb 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(-) (limited to 'configure') 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