+wget: --no-check-certificate
authorlace <>
Sat, 27 Sep 2008 15:40:45 +0000 (15:40 +0000)
committerlace <>
Sat, 27 Sep 2008 15:40:45 +0000 (15:40 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index fd156ad..599c51a 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -157,6 +157,7 @@ eval '
        function rpmbuildlocal { nice rpmbuild --define "_topdir $PWD" --define "_builddir $PWD" --define "_rpmdir $PWD" --define "_sourcedir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" "$@"; rmdir &>/dev/null BUILDROOT; }
        function gdbn { gdb -nx --command=~/.gdbinit "$@"; }
        function hd { od -Ax -tx1; }
+       function wget {(unset wget; ( wget --no-check-certificate "$@"; ); );}
 '
 
 export IGNOREEOF=10