summaryrefslogtreecommitdiff
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:27 +0000
commitc5c7973ae4d38d8332063659f39b515302d46765 (patch)
tree1ffce6a2314fabdf08412e4d27c2986f700813b9
parentcdf09fbd8bda1891b8f4658d8d6f4f28f79e1532 (diff)
downloadbcparser-c5c7973ae4d38d8332063659f39b515302d46765.tar.bz2
bcparser-c5c7973ae4d38d8332063659f39b515302d46765.tar.xz
build system: configure: replace dirname(1) with command language primitives.
-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=''