#!/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
#
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)"
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}"