[PC-BSD Commits] r19928 - pcbsd/current/src-sh/warden/scripts/backend
svn at pcbsd.org
svn at pcbsd.org
Thu Oct 25 11:29:14 PDT 2012
Author: kris
Date: 2012-10-25 18:29:14 +0000 (Thu, 25 Oct 2012)
New Revision: 19928
Modified:
pcbsd/current/src-sh/warden/scripts/backend/functions.sh
Log:
Make warden use get_mirror()
Modified: pcbsd/current/src-sh/warden/scripts/backend/functions.sh
===================================================================
--- pcbsd/current/src-sh/warden/scripts/backend/functions.sh 2012-10-25 18:28:46 UTC (rev 19927)
+++ pcbsd/current/src-sh/warden/scripts/backend/functions.sh 2012-10-25 18:29:14 UTC (rev 19928)
@@ -52,9 +52,8 @@
# Set the mirror URL, may be overridden by setting MIRRORURL environment variable
if [ -z "${MIRRORURL}" ]; then
- MIRRORURL="$(grep ^PCBSD_MIRROR: ${PCBSD_ETCCONF} | cut -d' ' -f2)"
- # Use the default mirror, if no other mirror is found.
- [ -z "${MIRRORURL}" ] && MIRRORURL="http://ftp.pcbsd.org/pub/mirror"
+ get_mirror
+ MIRRORURL="$VAL"
fi
if [ ! -d "${JDIR}" ] ; then mkdir -p "${JDIR}" ; fi
More information about the Commits
mailing list