summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-20 16:33:54 +0000
committermidipix <writeonce@midipix.org>2019-10-20 16:35:28 +0000
commit2e3adc2ed750f236cead789c929abe37d32f327e (patch)
tree1b00e8d3c3835a51d74984838fd22a2c8cd64907 /configure
parentb52e4102f7fb5338240787180d3d298e2381ffba (diff)
downloadntux-2e3adc2ed750f236cead789c929abe37d32f327e.tar.bz2
ntux-2e3adc2ed750f236cead789c929abe37d32f327e.tar.xz
build system: configure: replace dirname(1) with command language primitives.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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=''