From 46ae80b268c557c7e2971ca924add340ebfc722a Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 21 Oct 2011 17:35:49 +0000 Subject: [PATCH] fix tar invocation in mkrel Fix the tar invocation in mkrel so that it defaults to using "tar" as the tar program rather than "gtar". This should probably be pulled up to at least 1.9 and 1.8 as well. ticket: 6989 target_version: 1.10 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25395 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/mkrel | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/util/mkrel b/src/util/mkrel index 8d00357bd..0f07dd397 100755 --- a/src/util/mkrel +++ b/src/util/mkrel @@ -5,6 +5,7 @@ dodoc=t dosrc=t checkout=t multitar=nil +: ${TAR=tar} while test $# -gt 2; do case $1 in --srconly) @@ -207,22 +208,22 @@ if test $multitar = t; then then notice=$reldir/NOTICE fi if test $dosrc = t; then - gtar --exclude $reldir/src/lib/crypto \ + $TAR --exclude $reldir/src/lib/crypto \ --exclude $reldir/src/lib/des425 \ --exclude $reldir/doc \ -zcf ${reldir}.src.tar.gz $reldir - gtar zcf ${reldir}.crypto.tar.gz \ + $TAR zcf ${reldir}.crypto.tar.gz \ $reldir/src/lib/crypto \ $des425 fi if test $dodoc = t; then - gtar zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README $notice + $TAR zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README $notice fi ls -l ${reldir}.*.tar.gz fi -gtar zcf ${reldir}.tar.gz $reldir +$TAR zcf ${reldir}.tar.gz $reldir ls -l ${reldir}.tar.gz echo "Done." -- 2.26.2