mirror of
https://github.com/macports/mpbb.git
synced 2026-07-12 18:18:44 -07:00
mp-buildbot: fix bugs in selfupdate MacPorts auto-installation
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@150840 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ selfupdate-help() {
|
||||
}
|
||||
|
||||
selfupdate() {
|
||||
if [ ! -f "${option_port}/bin/port" ]; then
|
||||
if [ ! -f "${option_prefix}/bin/port" ]; then
|
||||
macports_version=2.3.4
|
||||
macports_distname=MacPorts-${macports_version}
|
||||
macports_distfile=${macports_distname}.tar.bz2
|
||||
@@ -17,7 +17,7 @@ selfupdate() {
|
||||
if [ ! -f ${macports_distfile} ]; then
|
||||
curl -fIsLO https://distfiles.macports.org/MacPorts/${macports_distfile} || return $?
|
||||
fi
|
||||
tar xJf ${macports_distfile} || return $?
|
||||
tar -xJf ${macports_distfile} || return $?
|
||||
fi
|
||||
cd ${macports_distname} || return $?
|
||||
./configure --prefix=${option_prefix} --enable-readline || return $?
|
||||
|
||||
Reference in New Issue
Block a user