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@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Emil Velikov 2016-06-06 17:31:05 +01:00 committed by Emil Velikov
parent 359d9dfec3
commit 2c424e00c3
1 changed files with 1 additions and 0 deletions

View File

@ -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