meson-pgo: realpath() on build dir too

This commit is contained in:
Daniel Eklöf 2021-08-31 14:22:56 +02:00
parent 996356983b
commit ffc6fd7e03
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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"