meson make sure to update timestamp of installed script files and +x

enlightenment_remote was not getting timestamp updated. this should
fix that and ensure its executable too.
This commit is contained in:
Carsten Haitzler 2018-12-27 15:22:09 +00:00
parent 22031a74bb
commit c16034bcc8
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
install_data('enlightenment_remote',
install_dir: dir_bin
)
o = join_paths(dir_bin, 'enlightenment_remote')
meson.add_install_script(chmod, 'a+r+x', o)

View File

@ -1,2 +1,2 @@
#!/bin/sh
chmod "$1" "${DESTDIR}/$2"
chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"