aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>2003-06-10 10:49:59 +0200
committerGerald Pfeifer <gerald@gcc.gnu.org>2003-06-10 08:49:59 +0000
commit5107c6e455a2fe4ecc15dd4d6808a2afdf70064a (patch)
tree1d808f8a0fbe252b29eb8d901c7085eb878d3e61
parentd58b7c2d5dec4e603b4eb740b4d7b2ce17cc6ce1 (diff)
downloadgcc-5107c6e455a2fe4ecc15dd4d6808a2afdf70064a.zip
gcc-5107c6e455a2fe4ecc15dd4d6808a2afdf70064a.tar.gz
gcc-5107c6e455a2fe4ecc15dd4d6808a2afdf70064a.tar.bz2
gcc_release (build_diff): Properly use ${TAR} instead of hard-coded tar.
* gcc_release (build_diff): Properly use ${TAR} instead of hard-coded tar. From-SVN: r67699
-rw-r--r--maintainer-scripts/ChangeLog5
-rwxr-xr-xmaintainer-scripts/gcc_release4
2 files changed, 7 insertions, 2 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index 2117b57..085ee46 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-10 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * gcc_release (build_diff): Properly use ${TAR} instead of
+ hard-coded tar.
+
2003-05-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* snapshot-index.html: Refer to .bz2 files instead of .gz files.
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index df6ad80..c5fa0d4 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -323,8 +323,8 @@ build_diff() {
tmpdir=gccdiff.$$
mkdir $tmpdir || error "Could not create directory $tmpdir"
changedir $tmpdir
- tar xfz $1 || error "Could not unpack $1 for diffs"
- tar xfz $3 || error "Could not unpack $3 for diffs"
+ ${TAR} xfz $1 || error "Could not unpack $1 for diffs"
+ ${TAR} xfz $3 || error "Could not unpack $3 for diffs"
${DIFF} $2 $4 > ../${5%.gz}
if [ $? -eq 2 ]; then
error "Trouble making diffs from $1 to $3"