aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'script/bootstrap-bash.sh')
-rwxr-xr-x[-rw-r--r--]script/bootstrap-bash.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/bootstrap-bash.sh b/script/bootstrap-bash.sh
index dc0ac27..c452fc4 100644..100755
--- a/script/bootstrap-bash.sh
+++ b/script/bootstrap-bash.sh
@@ -17,7 +17,9 @@ cd "$1"
mkdir bash-build
cd bash-build
-ftp "http://distfiles.gentoo.org/distfiles/bash-4.1.tar.gz"
+GENTOO_MIRROR=${GENTOO_MIRROR:="http://distfiles.gentoo.org/distfiles"}
+
+ftp "${GENTOO_MIRROR}/bash-4.1.tar.gz"
gzip -d bash-4.1.tar.gz
tar -xf bash-4.1.tar
cd bash-4.1