+gdbf12cvscheckout
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 34e77df..fcdd65b 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -282,7 +282,8 @@ function diffi { diffc -X ~/.diffi.list "$@" | diffdecvs; }
 function cvs {(unset cvs
        local _opts _opts_d _now _line _o
        _opts_d="-d"
-       if grep -iw '\(sources.redhat.com\|sourceware.org\|cvs.fedoraproject.org\):/cvs/src' CVS/Root &>/dev/null;then _opts_d="";fi
+       if grep -iw '\(sources.redhat.com\|sourceware.org\):/cvs/src' CVS/Root &>/dev/null;then _opts_d="";fi
+       if grep -iw '\(cvs.fedoraproject.org\):/cvs/pkgs' CVS/Root &>/dev/null;then _opts_d="";fi
        if grep '^tests/kernel/syscalls/ptrace' CVS/Repository &>/dev/null;then _opts_d="";fi
        _now=false
        _line=""
@@ -337,6 +338,12 @@ function gdbdevelcvscheckout {(set -ex
        cd gdb-devel
        make sources
        );}
+function gdbf12cvscheckout {(set -ex
+       ! test -d gdb-F-12
+       (set +x;CVSROOT=:pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs cvs checkout -d gdb-F-12 rpms/gdb/F-12)
+       cd gdb-F-12
+       make sources
+       );}
 function uri_escape   { perl -MURI::Escape -le '$_=<>;chomp;print uri_escape   $_;'; };
 function uri_unescape { perl -MURI::Escape -le '$_=<>;chomp;print uri_unescape $_;'; };
 function n { if [ "$1" = "-p" ];then renice +19 "$@";ionice -c3 "$@";else nice -n19 ionice -c3 "$@";fi };