From c16034bcc81e809ac7ac999ff9bbace18f16eb73 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 27 Dec 2018 15:22:09 +0000 Subject: [PATCH] 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. --- data/tools/meson.build | 2 ++ meson/meson-chmod.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/tools/meson.build b/data/tools/meson.build index 3b39ab279..d40a744f2 100644 --- a/data/tools/meson.build +++ b/data/tools/meson.build @@ -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) diff --git a/meson/meson-chmod.sh b/meson/meson-chmod.sh index 7fed6de0d..e72cb72c5 100755 --- a/meson/meson-chmod.sh +++ b/meson/meson-chmod.sh @@ -1,2 +1,2 @@ #!/bin/sh -chmod "$1" "${DESTDIR}/$2" +chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"