config: Turn into a simple wrapper

Now that Configure called config.pm's functions directly, the 'config'
script doesn't have much else to do than to pass arguments.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11230)
This commit is contained in:
Richard Levitte 2020-03-03 00:08:41 +01:00
parent e39795af0a
commit 2f44c8151e
1 changed files with 3 additions and 5 deletions

8
config
View File

@ -1,5 +1,4 @@
#! /usr/bin/env perl #! /bin/sh
# -*- mode: perl; -*-
# Copyright 2020 The OpenSSL Project Authors. All Rights Reserved. # Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
# #
# Licensed under the Apache License 2.0 (the "License"). You may not use # Licensed under the Apache License 2.0 (the "License"). You may not use
@ -7,6 +6,5 @@
# in the file LICENSE in the source distribution or at # in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html # https://www.openssl.org/source/license.html
use lib "util/perl"; THERE=`dirname $0`
use OpenSSL::config; exec "$THERE/Configure" "$@"
OpenSSL::config::main();