From c5c7973ae4d38d8332063659f39b515302d46765 Mon Sep 17 00:00:00 2001 From: midipix Date: Oct 20 2019 16:35:27 +0000 Subject: build system: configure: replace dirname(1) with command language primitives. --- 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=''