From: Chris Hanson Date: Mon, 25 Dec 2000 06:20:43 +0000 (+0000) Subject: Use install rather than cp to copy files. X-Git-Tag: 20090517-FFI~3028 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=789b891688c284035cafabe0b7b2681ee7bde088;p=mit-scheme.git Use install rather than cp to copy files. --- diff --git a/v7/dist/make-src-files b/v7/dist/make-src-files index 384bb1fa6..19b68149e 100755 --- a/v7/dist/make-src-files +++ b/v7/dist/make-src-files @@ -1,6 +1,6 @@ #!/bin/sh -# $Id: make-src-files,v 1.13 2000/12/23 04:36:58 cph Exp $ +# $Id: make-src-files,v 1.14 2000/12/25 06:20:43 cph Exp $ # # Copyright (c) 2000 Massachusetts Institute of Technology # @@ -18,6 +18,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +INSTALL="install" +INSTALL_DATA="${INSTALL} -m 644" PREFIX=`/scheme/v7/dist/release-prefix` rm -rf ${PREFIX} mkdir ${PREFIX} @@ -34,8 +36,8 @@ find ${DESTINATION} -type d -name CVS -print | xargs rm -rf find ${DESTINATION} -type f -print | xargs chmod g-w find ${DESTINATION} -type d -print | xargs chmod g-w -cp -p /scheme/v7/src/ChangeLog changelog.txt -cp -p /scheme/v7/src/ChangeLog ${DESTINATION}/. +${INSTALL_DATA} /scheme/v7/src/ChangeLog changelog.txt +${INSTALL_DATA} /scheme/v7/src/ChangeLog ${DESTINATION}/. tarfile=${PREFIX}-src.tar.gz zipfile=${PREFIX}-src.zip