From: Chris Hanson Date: Sat, 20 Jan 2007 03:50:06 +0000 (+0000) Subject: Two fixes for OS X. X-Git-Tag: 20090517-FFI~766 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=21b5a837fa18b97e734ab18a178a803944135e95;p=mit-scheme.git Two fixes for OS X. --- diff --git a/v7/dist/make-src-files b/v7/dist/make-src-files index 4083653e9..ba99538dd 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.25 2006/09/10 01:41:25 cph Exp $ +# $Id: make-src-files,v 1.26 2007/01/20 03:50:06 cph Exp $ # # Copyright 2000,2001,2002,2003,2005,2006 Massachusetts Institute of Technology # @@ -37,7 +37,7 @@ if [ "${VERSION}" = "snapshot" ]; then SNAPSHOT_P=true PREFIX="$(get_release_prefix $(date +%Y%m%d))" TAG_FLAG="-D" - TAG=$(date --iso-8601=seconds) + TAG=now else if [ "${VERSION}" = "standard" ]; then VERSION="$(get_release)" @@ -95,7 +95,9 @@ tar cvzf "${ucfile}" "${PREFIX}/src/COPYING" "${PREFIX}/src/microcode" chmod -w changelog.txt "${tarfile}" "${ucfile}" rm -rf "${PREFIX}/src/lib" -symlinks -rd "${PREFIX}" +for S in $(find ${PREFIX} -type l); do + [ ! -r "${S}" ] && rm -f "${S}" +done zip -rl "${zipfile}" "${PREFIX}" chmod -w "${zipfile}"