aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"