From 174e56fd23a4b48237fc6b1111b4229970f387f7 Mon Sep 17 00:00:00 2001 From: Frederic Petrot Date: Tue, 27 Jul 2004 18:24:48 +0000 Subject: [PATCH] Adding -f to rms in order to avoid anoying messages, and renaming the error file .gpt since .grr is reserved (even copyrighted :) for genlib. --- alliance/src/genpat/src/genpat.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/alliance/src/genpat/src/genpat.sh b/alliance/src/genpat/src/genpat.sh index 46927ee2..4b90212b 100755 --- a/alliance/src/genpat/src/genpat.sh +++ b/alliance/src/genpat/src/genpat.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $Id: genpat.sh,v 1.2 2002/10/24 10:30:25 hcl Exp $ +# $Id: genpat.sh,v 1.3 2004/07/27 18:24:48 fred Exp $ #set -v #set -x @@ -77,11 +77,11 @@ EOF echo "Compiling, ..." fi - make -f $makefile > $name.grr 2>&1 + make -f $makefile > $name.gpt 2>&1 if [ ! $? -eq 0 ]; then echo "Compilation failed!" - cat $name.grr + cat $name.gpt exit 1 fi @@ -107,10 +107,10 @@ EOF fi if [ $keep -eq 0 ] ; then - rm $name $name.exe; + rm -f $name $name.exe; fi - rm $name.o $name.grr $makefile > /dev/null 2>&1 + rm -f $name.o $name.gpt $makefile > /dev/null 2>&1 exit $exit_code