gdbcvscheckout: Fix the sanity check.
authorlace <>
Wed, 24 Dec 2008 00:00:14 +0000 (00:00 +0000)
committerlace <>
Wed, 24 Dec 2008 00:00:14 +0000 (00:00 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index 7a125a3..90c5518 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -311,7 +311,7 @@ function pidof
 )}
 function sumlog { find "$@" ! -name config.log -name "*.log" -o -name "*.sum"; }
 function gdbcvscheckout {(set -ex
-       test -d cvs || test -d gdb-cvs || (set +x;cvs -z3 -d :pserver:anoncvs:@sourceware.org:/cvs/src checkout gdb)
+       test -d src || test -d gdb-cvs || (set +x;cvs -z3 -d :pserver:anoncvs:@sourceware.org:/cvs/src checkout gdb)
        mv src gdb-cvs
        cd gdb-cvs
        (set +x;cvs update)