summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2017-11-02 15:35:21 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2017-11-02 15:35:21 +0000
commita1dfe5061d6865e1f7da63a3f65171e519e192db (patch)
tree356c7a25e0b357617e29e1b8765ac9700575756e
parentf1f82b34bc3197ba888c6f62398fd7ec9e6933de (diff)
Fix this test by adding _http_proto to INSTALL_MIRROR.
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index ef8c069588d..cdc929b8ed4 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1041 2017/10/22 08:23:20 rpe Exp $
+# $OpenBSD: install.sub,v 1.1042 2017/11/02 15:35:20 rpe Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -1784,7 +1784,7 @@ install_http() {
else
echo "Unable to get a verified list of distribution sets."
# Deny this server, if it's a mirror without a valid SHA256.sig.
- if [[ ${_url_base%/$HTTP_SETDIR} == "$INSTALL_MIRROR" ]]; then
+ if [[ ${_url_base%/$HTTP_SETDIR} == "$_http_proto://$INSTALL_MIRROR" ]]; then
$AUTO && exit 1 || return
fi
fi