certdata.py (561B)
1 #!/usr/bin/env python3 2 # 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 import subprocess 8 import os 9 import sys 10 11 def main(): 12 args = [os.path.realpath(x) for x in sys.argv[1:]] 13 script = os.path.dirname(os.path.abspath(__file__))+'/certdata.perl' 14 subprocess.check_call([os.environ.get('PERL', 'perl'), script] + args, 15 env=os.environ) 16 17 if __name__ == '__main__': 18 main()