diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-11-02 18:27:53 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-11-02 18:27:53 +0000 |
commit | 813a7ae859c0563f87c2afef79d346b853c20e36 (patch) | |
tree | 36ae2db624345f0298e7070dfb5c27d44587a2d2 /package | |
parent | 61d68e5efd9b81f0df3303c1a1bdefcf7688d3f1 (diff) | |
download | execline-813a7ae859c0563f87c2afef79d346b853c20e36.tar.gz execline-813a7ae859c0563f87c2afef79d346b853c20e36.tar.xz execline-813a7ae859c0563f87c2afef79d346b853c20e36.zip |
Tentative workaround for make bug
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/targets.mak | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/targets.mak b/package/targets.mak index 8fc04a1..a7a1fd9 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -32,4 +32,10 @@ SYMLINK_TARGET_cd := execline-cd SYMLINK_TARGET_umask := execline-umask endif +$(DESTDIR)$(bindir)/define: ./define package/modes + exec $(INSTALL) -D -m 600 $< $@ + grep -- ^$(@F) < package/modes | { read name mode owner && \ + if [ x$$owner != x ] ; then chown -- $$owner $@ ; fi && \ + chmod $$mode $@ ; } + endif |