diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-04-19 13:54:51 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-04-19 13:54:51 +0000 |
commit | 2697622687708bffd4c3dcfc44f0c977a78e506d (patch) | |
tree | 0d2a82860f54bdb3f6d010f8c42c2e872600b7ec /usr.sbin/bsdinstall/scripts/jail | |
parent | 31902c84f5aaee11004480b8b10b912559e68136 (diff) | |
download | src-2697622687708bffd4c3dcfc44f0c977a78e506d.tar.gz src-2697622687708bffd4c3dcfc44f0c977a78e506d.zip |
Fix mirror selection, which was broken by stderr redirection.
Reported by: Garrett Cooper
Notes
Notes:
svn path=/head/; revision=220834
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/jail')
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/jail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/jail b/usr.sbin/bsdinstall/scripts/jail index d596756dc66e..78fd4c89454c 100755 --- a/usr.sbin/bsdinstall/scripts/jail +++ b/usr.sbin/bsdinstall/scripts/jail @@ -49,7 +49,7 @@ test ! -d $BSDINSTALL_DISTDIR && mkdir -p $BSDINSTALL_DISTDIR if [ ! -f $BSDINSTALL_DISTDIR/MANIFEST -a -z "$BSDINSTALL_DISTSITE" ]; 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 |