• Iñigo Martínez's avatar
    build: Fix `USER_DIR_MODE` value in config.h · 37a6b940
    Iñigo Martínez authored
    meson defines `USER_DIR_MODE` with a raw octal value to be used as
    the default permissions when creating the user's configuration
    However, meson does not support raw octal values[0], so the define
    misses the initial `0` value. Due to this, the directory is created
    with wrong permissions.
    This has been changed to use the octal value as a string in meson,
    so the definition has the proper value.
    Fixes #49
    [0] https://github.com/mesonbuild/meson/issues/2047
meson.build 9.2 KB