mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
Set file permissions the same for everyone before making tar file.
(This clobbers the files' existing permissions.)
This commit is contained in:
@ -474,6 +474,7 @@ gdb-$(VERSION).tar.Z: ${TARFILES} ${TARDIRS}
|
||||
cd $(DIST)/tconfig ; \
|
||||
for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \
|
||||
do ln -s ../../$$i ../$$i ; done
|
||||
chmod og=u `find $(DIST) -print`
|
||||
tar chf - $(DIST) | compress >gdb-$(VERSION).tar.Z
|
||||
rm -rf $(DIST)
|
||||
|
||||
|
Reference in New Issue
Block a user