)}
function sumlog { find "$@" ! -name config.log -name "*.log" -o -name "*.sum"; }
function gdbcvscheckout {(set -ex
- test -d src || 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)
#(set +x;cvsignoresall)
(set +x;ignoresall)
);}
+function gdbdevelcvscheckout {(set -ex
+ test -d gdb-devel
+ (set +x;CVSROOT=:pserver:anonymous@cvs.fedoraproject.org:/cvs/pkgs cvs checkout -d gdb-devel rpms/gdb/devel)
+ cd gdb-devel
+ make test-srpm
+ rm `make verrel`.src.rpm
+ );}
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 };