Commit 19d59dee authored by Russ Fish's avatar Russ Fish

Go back to system tar, since intermittent hangs in tar have been seen.

This loses the --ignore-failed-read option, which is only in GNU tar.
parent fe7d47c8
...@@ -29,7 +29,8 @@ my $output; ...@@ -29,7 +29,8 @@ my $output;
my $TB = "@prefix@"; my $TB = "@prefix@";
my $TBOPS = "@TBOPSEMAIL@"; my $TBOPS = "@TBOPSEMAIL@";
my $CVS = "/usr/bin/cvs"; my $CVS = "/usr/bin/cvs";
my $TAR = "/usr/bin/gtar"; ##my $TAR = "/usr/bin/gtar --ignore-failed-read";
my $TAR = "/usr/bin/tar";
my $GZIP = "/usr/bin/gzip"; my $GZIP = "/usr/bin/gzip";
my $CVSREPO = "/usr/testbed/CVS"; my $CVSREPO = "/usr/testbed/CVS";
...@@ -117,7 +118,7 @@ system("$CVS -f -R -Qd $CVSREPO export -r $tag " . ...@@ -117,7 +118,7 @@ system("$CVS -f -R -Qd $CVSREPO export -r $tag " .
# Tar and gzip. Send to stdout (for web interface) unless an output file # Tar and gzip. Send to stdout (for web interface) unless an output file
# is specified. # is specified.
# #
system("$TAR --ignore-failed-read -cf - -C $tempdir . | gzip -c -1 ". system("$TAR -c -f - -C $tempdir . | gzip -c -1 ".
(defined($output) ? "> $output" : "")) == 0 (defined($output) ? "> $output" : "")) == 0
or fatal("Failed to tar/gzip testbed source code (tag $tag)!"); or fatal("Failed to tar/gzip testbed source code (tag $tag)!");
......
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