svn rev #25397: branches/krb5-1-8/src/util/
tlyu@MIT.EDU
tlyu at MIT.EDU
Fri Oct 21 13:45:05 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25397
Commit By: tlyu
Log Message:
ticket: 6991
subject: fix tar invocation in mkrel
status: resolved
version_fixed: 1.8.5
pull up r25395 from trunk
------------------------------------------------------------------------
r25395 | tlyu | 2011-10-21 13:35:49 -0400 (Fri, 21 Oct 2011) | 10 lines
ticket: 6989
subject: fix tar invocation in mkrel
target_version: 1.10
tags: pullup
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.
Changed Files:
U branches/krb5-1-8/src/util/mkrel
Modified: branches/krb5-1-8/src/util/mkrel
===================================================================
--- branches/krb5-1-8/src/util/mkrel 2011-10-21 17:42:53 UTC (rev 25396)
+++ branches/krb5-1-8/src/util/mkrel 2011-10-21 17:45:05 UTC (rev 25397)
@@ -5,6 +5,7 @@
dosrc=t
checkout=t
multitar=nil
+: ${TAR=tar}
while test $# -gt 2; do
case $1 in
--srconly)
@@ -207,22 +208,22 @@
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."
More information about the cvs-krb5
mailing list