summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-10-20 15:43:15 +0000
committermidipix <writeonce@midipix.org>2019-10-20 16:11:19 +0000
commitc6f60fec1e7c7168d6af2739289ca8caaa8b6906 (patch)
tree455ccd9c42ec05f99687a61913a2f485ddf75600
parentc68a1cefcd72e88a5e0db135906b2fcbb3ad8040 (diff)
downloadapimagic-c6f60fec1e7c7168d6af2739289ca8caaa8b6906.tar.bz2
apimagic-c6f60fec1e7c7168d6af2739289ca8caaa8b6906.tar.xz
build system: replace $(pwd) with $(pwd -P) for explicit/consistent behavior.
-rwxr-xr-xconfigure4
-rwxr-xr-xsofort/tools/version.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index dc3ab7a..1b80afd 100755
--- a/configure
+++ b/configure
@@ -49,8 +49,8 @@ warning_msg()
init_vars()
{
- mb_project_dir=$(cd "$(dirname "$mb_script")" ; pwd)
- mb_pwd=$(pwd)
+ mb_project_dir=$(cd "$(dirname "$mb_script")" ; pwd -P)
+ mb_pwd=$(pwd -P)
mb_custom_cfgdefs_args=''
mb_custom_cfgdefs_space=''
diff --git a/sofort/tools/version.sh b/sofort/tools/version.sh
index f510a32..caf5c5f 100755
--- a/sofort/tools/version.sh
+++ b/sofort/tools/version.sh
@@ -18,7 +18,7 @@ exit 1
# one
-workdir=$(pwd)
+workdir=$(pwd -P)
srcdir=
output=
prefix=