Commit 38c27731 authored by Kirk Webb's avatar Kirk Webb

Switch to using GNU tar ('gtar'). This must have been the default tar for

FBSD 4.X since options are missing from the tar in FBSD 6.X
parent 8cf4bd58
......@@ -46,7 +46,7 @@
# SUCH DAMAGE.
#
# $FreeBSD: projects/cvsweb/cvsweb.cgi,v 1.119.2.6 2002/09/26 20:56:05 scop Exp $
# $Id: cvsweb.cgi,v 1.7 2006-02-27 15:58:14 stoller Exp $
# $Id: cvsweb.cgi,v 1.8 2006-08-03 21:33:15 kwebb Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.cgi,v 1.84 2001/10/07 20:50:10 knu Exp $
#
###
......@@ -623,7 +623,7 @@ if ($input{tarball}) {
print "Content-Type: application/x-gzip\r\n\r\n";
system
"$CMD{tar} @tar_options -cf - -C $tmpexportdir $basedir | $CMD{gzip} @gzip_options -c"
"$CMD{gtar} @tar_options -cf - -C $tmpexportdir $basedir | $CMD{gzip} @gzip_options -c"
and @fatal =
("500 Internal Error",
'tar zc failure: %s: %s',
......
......@@ -9,7 +9,7 @@
# based on work by Bill Fenner <fenner@FreeBSD.org>
#
# $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.36.2.3 2002/09/23 05:30:17 scop Exp $
# $Id: cvsweb.conf,v 1.7 2005-11-09 17:28:13 stoller Exp $
# $Id: cvsweb.conf,v 1.8 2006-08-03 21:33:15 kwebb Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $
#
###
......@@ -21,7 +21,7 @@
$command_path = '/bin:/usr/bin:/usr/local/bin';
# Search the above directories for each command
for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
for (qw(uname cvs rlog rcsdiff gzip gtar rm zip)) {
$CMD{$_} = search_path($_);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment