diff options
author | 2018-08-19 20:35:51 +0000 | |
---|---|---|
committer | 2018-08-19 20:35:51 +0000 | |
commit | 9cc5eb7cb8e1785b6af0b71dd1fa0736db34520a (patch) | |
tree | 1c8598ab4042d35d6d8fd4ad2973bea4da935c96 | |
parent | Don't leak sktmp in X509_verify_cert(). (diff) | |
download | wireguard-openbsd-9cc5eb7cb8e1785b6af0b71dd1fa0736db34520a.tar.xz wireguard-openbsd-9cc5eb7cb8e1785b6af0b71dd1fa0736db34520a.zip |
There was some misunderstanding about which mirror to use.
Back this out for now.
-rw-r--r-- | distrib/miniroot/install.sub | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 4bd08975688..6e9a79c1ccb 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1099 2018/08/19 20:01:38 tb Exp $ +# $OpenBSD: install.sub,v 1.1100 2018/08/19 20:35:51 tb Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org> @@ -2712,9 +2712,8 @@ finish_up() { fi # Create /etc/installurl if it does not yet exist. - if [[ ! -f /mnt/etc/installurl ]]; then - echo "${INSTALL_URL:-https://cdn.openbsd.org/pub/OpenBSD}" \ - >/mnt/etc/installurl + if [[ -n $INSTALL_URL && ! -f /mnt/etc/installurl ]]; then + echo "$INSTALL_URL" >/mnt/etc/installurl fi echo -n "Making all device nodes..." |