mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 01:50:35 +08:00
egcs_update: Test return values of 'cvs update'.
* egcs_update: Test return values of 'cvs update'. Propogate to caller as exit values. From-SVN: r25021
This commit is contained in:
parent
2d7423ebf5
commit
7a19950eda
@ -1,3 +1,8 @@
|
||||
1999-02-04 Robert Lipe <robertlipe@usa.net>
|
||||
|
||||
* egcs_update: Test return values of 'cvs update'. Propogate
|
||||
to caller as exit values.
|
||||
|
||||
1999-01-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
||||
|
||||
* egcs_update: Use "if" instead of "&&". Touch generated files
|
||||
|
@ -58,10 +58,18 @@ do
|
||||
fi
|
||||
done`
|
||||
cvs -q update $X
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "CVS update of generated files failed." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
echo "Pass 2: Updating full tree"
|
||||
cvs -q update ${1+"$@"}
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "CVS update of full tree failed." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Pass 3: Fixing local tree"
|
||||
# Please also update the FAQ accordingly if you change the list of
|
||||
|
Loading…
x
Reference in New Issue
Block a user