Mesa (master): mesa: automake: ensure that git_sha1.h.tmp has the right attributes

Emil Velikov evelikov at kemper.freedesktop.org
Tue Jun 7 11:33:47 UTC 2016


Module: Mesa
Branch: master
Commit: 2c424e00c3995a6a88f4db0c5dc9fd03ea749ebd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c424e00c3995a6a88f4db0c5dc9fd03ea749ebd

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon Jun  6 17:31:05 2016 +0100

mesa: automake: ensure that git_sha1.h.tmp has the right attributes

... when copied from git_sha1.h.

As the latter file can we lacking the write attribute, one should set it
explicitly. Otherwise we'll get a warning/failure at cleanup stage.

Cc: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>

---

 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 08446a8..a5c54ff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,6 +33,7 @@ git_sha1.h.tmp:
 		fi \
 	else \
 		cp $(srcdir)/git_sha1.h git_sha1.h.tmp ;\
+		chmod u+w git_sha1.h.tmp; \
 	fi
 
 git_sha1.h: git_sha1.h.tmp




More information about the mesa-commit mailing list