Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a87a1e5

Browse files
committed
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
1 parent 6bcdb8a commit a87a1e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/doc/Makefile,v 1.35 2009/06/26 06:37:14 petere Exp $
7+
# $PostgreSQL: pgsql/doc/Makefile,v 1.36 2009/06/26 06:40:57 petere Exp $
88
#
99
#----------------------------------------------------------------------------
1010

@@ -53,7 +53,7 @@ man1/.timestamp: man7/.timestamp
5353
@echo timestamp >$@
5454

5555
man7/.timestamp: man.tar.gz
56-
gzip -d -c $< | $(TAR) xf -
56+
gzip -d -c $< | $(TAR) xof -
5757
ifneq ($(sqlmansectnum),7)
5858
for file in man1/*.1; do \
5959
mv $$file $$file.bak && \
@@ -76,7 +76,7 @@ endif # found_man
7676

7777
install: all installdirs
7878
ifdef found_html
79-
gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xf - )
79+
gzip -d -c $(srcdir)/postgres.tar.gz | ( cd $(DESTDIR)$(htmldir)/html && $(TAR) xof - )
8080
endif
8181
ifdef found_man
8282
for file in man1/*.1 man$(sqlmansectnum)/*.$(sqlmansect) ; do \

0 commit comments

Comments
 (0)