projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d178e6
)
Add code to generate tar file.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 15 Jan 2000 20:09:02 +0000
(20:09 +0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 15 Jan 2000 20:09:02 +0000
(20:09 +0000)
v7/dist/make-dist-files
patch
|
blob
|
history
diff --git
a/v7/dist/make-dist-files
b/v7/dist/make-dist-files
index ce1ec7453bd17f8a367bf2b8fff0f7af29ff568e..de7c012320ff95772517e620690aa5c49bcfba4c 100755
(executable)
--- 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}