From: Peter Eisentraut Date: Fri, 26 Jun 2009 06:40:57 +0000 (+0000) Subject: Extract tarballs with "o" option (tar xof), to behave reasonably when run X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=0371f56a4d8d43d63634442a56aa813d342a4dd3;p=users%2Fsimon%2Fpostgres.git Extract tarballs with "o" option (tar xof), to behave reasonably when run as root, as would usually be the case during make install. per bug #4883 --- diff --git a/doc/Makefile b/doc/Makefile index 004218afaf..db7c66a251 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -53,7 +53,7 @@ man1/.timestamp: man7/.timestamp @echo timestamp >$@ man7/.timestamp: man.tar.gz - gzip -d -c $< | $(TAR) xf - + gzip -d -c $< | $(TAR) xof - ifneq ($(sqlmansectnum),7) for file in man1/*.1; do \ mv $$file $$file.bak && \ @@ -76,7 +76,7 @@ endif # found_man install: all installdirs ifdef found_html - gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xf - ) + gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xof - ) endif ifdef found_man for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \