Commit 0b372d1b authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix version parsing

parent 2d864d25
......@@ -67,7 +67,7 @@ case "$1" in
# fetch the version number from the makefile. the line we're looking for looks like this
# projects[hostmaster][download][url] = "http://files.aegirproject.org/hostmaster-0.4-beta1.tgz"
# this obviously doesn't work for git releases
VERSION=`sed -ne '/hostmaster..download..url/{s/^.*hostmaster-//;s/.tgz"//;p}' /usr/share/drush/commands/provision/aegir.make`
VERSION=`sed -n '/^version/{s/^.*= //;p}' /usr/share/drush/commands/provision/provision.info`
TEMPFILE=`tempfile`
su aegir -c 'drush @hostmaster status' >> $TEMPFILE || true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment