diff options
author | Karel Zak <kzak@redhat.com> | 2024-04-22 12:03:51 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2024-04-22 12:03:51 +0200 |
commit | 0800bdc7626f6e46fa44614c185ff96b193e89bd (patch) | |
tree | 96e6de0406f796fb550a8c13a829358f3b8f863e | |
parent | af4c7dac191abadc33aae75916583c890cd2ebc3 (diff) | |
parent | b51eee742782148cbb9b312fda3b7814da937cc2 (diff) | |
download | util-linux-0800bdc7626f6e46fa44614c185ff96b193e89bd.tar.gz |
Merge branch 'meson-fix-absolute-check' of https://github.com/jwillikers/util-linux
* 'meson-fix-absolute-check' of https://github.com/jwillikers/util-linux:
meson: Use is_absolute to determine if the prefix directory is absolute
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 19f11c6d43..876a0b2101 100644 --- a/meson.build +++ b/meson.build @@ -21,7 +21,7 @@ libsmartcols_version = '1.1.0' libfdisk_version = '1.1.0' prefixdir = get_option('prefix') -if not prefixdir.startswith('/') +if not fs.is_absolute(prefixdir) error('Prefix is not absolute: "@0@"'.format(prefixdir)) endif bindir = join_paths(prefixdir, get_option('bindir')) |