summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Thibaut <murphy@gentoo.org>2002-08-16 14:29:29 +0000
committerMaarten Thibaut <murphy@gentoo.org>2002-08-16 14:29:29 +0000
commita9e955a3b358faaa15bae9b97facdd361ec365ef (patch)
treecff67d30d13175df6807d8df4416289171ce16c6 /profiles/default-sparc-1.0
parentAdding sparc/sparc64 keywords (diff)
downloadhistorical-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.sh11
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}