egcs_update: Use "if" instead of "&&".
* egcs_update: Use "if" instead of "&&". Touch generated files only after the corresponding *.y files. From-SVN: r24860
This commit is contained in:
parent
f13eb63a42
commit
bdf32ae50a
@ -1,3 +1,8 @@
|
|||||||
|
1999-01-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
||||||
|
|
||||||
|
* egcs_update: Use "if" instead of "&&". Touch generated files
|
||||||
|
only after the corresponding *.y files.
|
||||||
|
|
||||||
1999-01-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
1999-01-19 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
||||||
|
|
||||||
* egcs_update: Do not use xargs, but a backquote construct.
|
* egcs_update: Do not use xargs, but a backquote construct.
|
||||||
|
@ -52,8 +52,10 @@ echo "Pass 1: Updating autoconf and bison generated files"
|
|||||||
# makes sense to drop into the tree, but it isn't CVS-controlled.
|
# makes sense to drop into the tree, but it isn't CVS-controlled.
|
||||||
X=`for i in \`find . -name configure.in -o -name '*.y'\`
|
X=`for i in \`find . -name configure.in -o -name '*.y'\`
|
||||||
do
|
do
|
||||||
D=\`dirname $i\`/CVS
|
D=\`dirname $i\`/CVS
|
||||||
[ -f $i -a -d $D ] && echo $i
|
if [ -f $i -a -d $D ]; then
|
||||||
|
echo $i
|
||||||
|
fi
|
||||||
done`
|
done`
|
||||||
cvs -q update $X
|
cvs -q update $X
|
||||||
|
|
||||||
@ -63,21 +65,22 @@ cvs -q update ${1+"$@"}
|
|||||||
|
|
||||||
echo "Pass 3: Fixing local tree"
|
echo "Pass 3: Fixing local tree"
|
||||||
# Please also update the FAQ accordingly if you change the list of
|
# Please also update the FAQ accordingly if you change the list of
|
||||||
# files below.
|
# files below. Note that generated files should be touched only
|
||||||
|
# after the corresponding *.y files.
|
||||||
touch `find . -name configure -print`
|
touch `find . -name configure -print`
|
||||||
touch `find texinfo -name Makefile.in -print`
|
touch `find texinfo -name Makefile.in -print`
|
||||||
touch `find texinfo -name \*.pot -print`
|
touch `find texinfo -name \*.pot -print`
|
||||||
touch `find texinfo -name \*.gmo -print`
|
touch `find texinfo -name \*.gmo -print`
|
||||||
for f in gcc/c-parse.y \
|
for f in gcc/c-parse.y \
|
||||||
|
gcc/c-parse.h \
|
||||||
|
gcc/c-parse.c \
|
||||||
gcc/cstamp-h.in \
|
gcc/cstamp-h.in \
|
||||||
gcc/c-gperf.h \
|
gcc/c-gperf.h \
|
||||||
gcc/c-parse.c \
|
|
||||||
gcc/c-parse.h \
|
|
||||||
gcc/cexp.c \
|
gcc/cexp.c \
|
||||||
gcc/cp/parse.c \
|
gcc/cp/parse.c \
|
||||||
gcc/cp/parse.h \
|
gcc/cp/parse.h \
|
||||||
gcc/objc/objc-parse.c \
|
|
||||||
gcc/objc/objc-parse.y \
|
gcc/objc/objc-parse.y \
|
||||||
|
gcc/objc/objc-parse.c \
|
||||||
gcc/java/parse.h \
|
gcc/java/parse.h \
|
||||||
gcc/java/parse.c \
|
gcc/java/parse.c \
|
||||||
gcc/java/parse-scan.c \
|
gcc/java/parse-scan.c \
|
||||||
|
Loading…
Reference in New Issue
Block a user