From 292c1f68a1f62d3cdecadb55a3a67b1f44f1f9f6 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Tue, 19 Apr 2011 13:54:51 +0000 Subject: Fix mirror selection, which was broken by stderr redirection. Reported by: Garrett Cooper --- usr.sbin/bsdinstall/scripts/auto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/bsdinstall/scripts/auto') diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto index b4758ff..c163c2c 100755 --- a/usr.sbin/bsdinstall/scripts/auto +++ b/usr.sbin/bsdinstall/scripts/auto @@ -83,7 +83,7 @@ fi if [ -n "$FETCH_DISTRIBUTIONS" ]; then exec 3>&1 - BSDINSTALL_DISTSITE=`bsdinstall mirrorselect 2>&1 1>&3` + BSDINSTALL_DISTSITE=$(`dirname $0`/mirrorselect 2>&1 1>&3) MIRROR_BUTTON=$? exec 3>&- test $MIRROR_BUTTON -eq 0 || error -- cgit v1.1