diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2009-06-02 10:35:27 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2009-06-02 10:35:27 +0000 |
commit | c18d9dd5c2ed21ce03fdac835fce2b2aedc7f7d3 (patch) | |
tree | f6a6da19a6c57ecf167a5e3ba32df3c17c6b29d8 /distrib/miniroot/install.sub | |
parent | 3caef9d2ed6317b347cfd4316a2a93098c04af15 (diff) |
strip /<version>/<arch> part from the install url before feeding it back
to the ftplist server
ok deraadt@
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 99f869091a5..a7a5542e128 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.566 2009/06/02 08:59:22 halex Exp $ +# $OpenBSD: install.sub,v 1.567 2009/06/02 10:35:26 halex Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -1239,7 +1239,7 @@ install_url() { install_files "$_url_base" "$_file_list" # Remember where we installed from - eval installedfrom=$_url_type://\$$_server_ip_var/\$$_server_dir_var + eval installedfrom=$_url_type://\$$_server_ip_var/\${$_server_dir_var%\"/\$FTPSETDIR\"} } install_mounted_fs() { |