diff --git a/files/bin/curl b/files/bin/curl new file mode 100755 index 0000000..928f652 --- /dev/null +++ b/files/bin/curl @@ -0,0 +1,9 @@ +#!/bin/sh + +CERT="$(git config http.sslcert 2> /dev/null)" +KEY="$(git config http.sslkey 2> /dev/null)" + +exec /usr/bin/curl \ + ${KEY:+--key "$KEY"} \ + ${CERT:+--cert "$CERT"} \ + "$@"