From 5a0bf5c4f29717a18cba44ddbdc9f3b564b88976 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 16 Feb 2010 22:41:27 +0000 Subject: [PATCH] update mkrel to deal with changed source layout Update mkrel so it deals somewhat better with removed src/lib/des425, NOTICES, etc. ticket: 6663 target_version: 1.8 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23726 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/mkrel | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/util/mkrel b/src/util/mkrel index ca9108767..8d00357bd 100755 --- a/src/util/mkrel +++ b/src/util/mkrel @@ -200,6 +200,12 @@ fi echo "Generating tarfiles..." GZIP=-9; export GZIP if test $multitar = t; then + if test -d $reldir/src/lib/des425; then + des425=$reldir/src/lib/des425 + fi + if test -f $reldir/NOTICE; + then notice=$reldir/NOTICE + fi if test $dosrc = t; then gtar --exclude $reldir/src/lib/crypto \ --exclude $reldir/src/lib/des425 \ @@ -208,10 +214,10 @@ if test $multitar = t; then gtar zcf ${reldir}.crypto.tar.gz \ $reldir/src/lib/crypto \ - $reldir/src/lib/des425 + $des425 fi if test $dodoc = t; then - gtar zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README + gtar zcf ${reldir}.doc.tar.gz $reldir/doc $reldir/README $notice fi ls -l ${reldir}.*.tar.gz fi -- 2.26.2