build: Fix chmod for DESTDIR builds

edi-0.8
Andy Williams 5 years ago
parent f3162908cc
commit c0c9703d6c
  1. 2
      data/extra/templates/meson.build
  2. 5
      scripts/world_read.sh

@ -32,6 +32,6 @@ foreach meta : skeleton_meta
install: true,
)
out = join_paths(get_option('prefix'), template_dir, meta + '.edj')
meson.add_install_script('chmod', 'a+r', out)
meson.add_install_script('../../../scripts/world_read.sh', out)
endforeach

@ -0,0 +1,5 @@
#!/bin/sh
for file in "$@" ; do
chmod a+r "$DESTDIR/$file"
done
Loading…
Cancel
Save