diff options
author | Maarten Thibaut <murphy@gentoo.org> | 2002-08-16 14:29:29 +0000 |
---|---|---|
committer | Maarten Thibaut <murphy@gentoo.org> | 2002-08-16 14:29:29 +0000 |
commit | a9e955a3b358faaa15bae9b97facdd361ec365ef (patch) | |
tree | cff67d30d13175df6807d8df4416289171ce16c6 /profiles/default-sparc-1.0 | |
parent | Adding sparc/sparc64 keywords (diff) | |
download | historical-a9e955a3b358faaa15bae9b97facdd361ec365ef.tar.gz historical-a9e955a3b358faaa15bae9b97facdd361ec365ef.tar.bz2 historical-a9e955a3b358faaa15bae9b97facdd361ec365ef.zip |
adding exceptions for virtuals and use.defaults
Diffstat (limited to 'profiles/default-sparc-1.0')
-rw-r--r-- | profiles/default-sparc-1.0/scripts/build-rel.sh | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/profiles/default-sparc-1.0/scripts/build-rel.sh b/profiles/default-sparc-1.0/scripts/build-rel.sh index a78c310e9c85..7ed31c72a20d 100644 --- a/profiles/default-sparc-1.0/scripts/build-rel.sh +++ b/profiles/default-sparc-1.0/scripts/build-rel.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /var/cvsroot/gentoo-x86/profiles/default-sparc-1.0/scripts/build-rel.sh,v 1.1 2002/08/14 14:20:57 murphy Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/default-sparc-1.0/scripts/build-rel.sh,v 1.2 2002/08/16 14:29:29 murphy Exp $ # # Where we get the sauce SOURCE=../default-x86-2.0 @@ -24,8 +24,13 @@ for f in $FILES; do if [ -s ${SOURCE}/${f} ]; then echo -n "${f}: keep" keepfile $f - echo "# This file generated automatically at `date`" > ${f} - echo "#" >> ${f} + if [ "${f}" != "virtuals" -a "${f}" != "use.defaults" ]; then + echo "# This file generated automatically at `date`" > ${f} + echo "#" >> ${f} + else + rm ${f} + touch ${f} + fi if [ -s ${f}.sed ]; then echo -n " sed" sed -f ${f}.sed ${SOURCE}/${f} >> ${f} |