From e3549a31bd592e801607f3b5e43b3ae6ee0c65a0 Mon Sep 17 00:00:00 2001 From: Giorgos Korfiatis <gkorf@grnet.gr> Date: Thu, 3 Sep 2015 17:23:22 +0300 Subject: [PATCH] cacert hack script --- cacert_hack.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 cacert_hack.sh diff --git a/cacert_hack.sh b/cacert_hack.sh new file mode 100644 index 0000000..17b05a1 --- /dev/null +++ b/cacert_hack.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# Copyright (C) 2015 GRNET S.A. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +CURPWD=$(pwd) +cd "$(dirname "$0")" +ROOTDIR=$(pwd) + +python -c 'import certifi; print certifi.where()' | xargs -I{} cp {} . -- GitLab