aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-08-31 12:22:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-12 08:39:42 +0000
commitffc6fd7e03e145deec9300a9bff0ac7d8620ac7b (patch)
treec784d242dd5c020ac1539454fe2e1c4fcc6c8f9d
parentmeson-pgo: initial version of a meson wrapper script for PGO builds (diff)
meson-pgo: realpath() on build dir too
-rwxr-xr-xmeson-pgo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson-pgo.sh b/meson-pgo.sh
index 8aa0e97e..ba3ea954 100755
--- a/meson-pgo.sh
+++ b/meson-pgo.sh
@@ -4,7 +4,7 @@ set -e
mode=${1}; shift
source_dir=$(realpath "${1}"); shift
-build_dir=${1}; shift
+build_dir=$(realpath ${1}); shift
if [ -d ${build_dir} ]; then
echo "${build_dir}: build directory already exists"