summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-03-03 00:08:41 +0100
committerRichard Levitte <levitte@openssl.org>2020-06-28 18:34:36 +0200
commit2f44c8151e4214174c6aa23731df643c40db38cd (patch)
tree26bc20be86db3ace5b5f8025d75cf352e9931923
parentutil/perl/OpenSSL/config.pm: refactor map_guess() (diff)
downloadopenssl-2f44c8151e4214174c6aa23731df643c40db38cd.tar.xz
openssl-2f44c8151e4214174c6aa23731df643c40db38cd.zip
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)
-rwxr-xr-xconfig8
1 files changed, 3 insertions, 5 deletions
diff --git a/config b/config
index 3f288f3740..e194d4bde4 100755
--- a/config
+++ b/config
@@ -1,5 +1,4 @@
-#! /usr/bin/env perl
-# -*- mode: perl; -*-
+#! /bin/sh
# Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
#
# 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
# https://www.openssl.org/source/license.html
-use lib "util/perl";
-use OpenSSL::config;
-OpenSSL::config::main();
+THERE=`dirname $0`
+exec "$THERE/Configure" "$@"