From: Chris Hanson Date: Sat, 15 Jan 2000 20:09:02 +0000 (+0000) Subject: Add code to generate tar file. X-Git-Tag: 20090517-FFI~4333 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=2b9c5c68165770a680c6fdd5c2d372dd1c819dbb;p=mit-scheme.git Add code to generate tar file. --- diff --git a/v7/dist/make-dist-files b/v7/dist/make-dist-files index ce1ec7453..de7c01232 100755 --- a/v7/dist/make-dist-files +++ b/v7/dist/make-dist-files @@ -169,3 +169,12 @@ fi # find ${destination} -type f -print | xargs chmod a-w find ${destination} -type d -print | xargs chmod og-w + +tarfile=${destination}.tar.gz +if [ -f ${tarfile} ] +then + rm -f ${tarfile} +fi +(cd ${destination}; tar cvzf ../${tarfile} *) +chmod 444 ${tarfile} +rm -rf ${destination}