mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Check error condition after cvs returns. Also remove -c option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
631484c4e2
commit
5e1a0d9669
@ -1,4 +1,4 @@
|
|||||||
#!/bin/csh -f -c
|
#!/bin/csh -f
|
||||||
#
|
#
|
||||||
# This script updates the entire tree, saves the output in cvs.out,
|
# This script updates the entire tree, saves the output in cvs.out,
|
||||||
# and then separately prints out the files that had merge conflicts,
|
# and then separately prints out the files that had merge conflicts,
|
||||||
@ -31,6 +31,11 @@ end
|
|||||||
if ($doit == 1) then
|
if ($doit == 1) then
|
||||||
/bin/mv -f cvs.out cvs.out.bak
|
/bin/mv -f cvs.out cvs.out.bak
|
||||||
cvs update -P -d >& cvs.out
|
cvs update -P -d >& cvs.out
|
||||||
|
if ($status != 0) then
|
||||||
|
echo "ERROR: CVS update failed: "
|
||||||
|
cat cvs.out
|
||||||
|
exit 1
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
echo ""; echo "Not updating files."; echo ""
|
echo ""; echo "Not updating files."; echo ""
|
||||||
endif
|
endif
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/csh -f -c
|
#!/bin/csh -f
|
||||||
#
|
#
|
||||||
# This script updates the entire tree, saves the output in cvs.out,
|
# This script updates the entire tree, saves the output in cvs.out,
|
||||||
# and then separately prints out the files that had merge conflicts,
|
# and then separately prints out the files that had merge conflicts,
|
||||||
@ -31,6 +31,11 @@ end
|
|||||||
if ($doit == 1) then
|
if ($doit == 1) then
|
||||||
/bin/mv -f cvs.out cvs.out.bak
|
/bin/mv -f cvs.out cvs.out.bak
|
||||||
cvs update -P -d >& cvs.out
|
cvs update -P -d >& cvs.out
|
||||||
|
if ($status != 0) then
|
||||||
|
echo "ERROR: CVS update failed: "
|
||||||
|
cat cvs.out
|
||||||
|
exit 1
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
echo ""; echo "Not updating files."; echo ""
|
echo ""; echo "Not updating files."; echo ""
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user