Commit 16ab8773 authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix version parsing

parent 28fc1a94
......@@ -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] = ""
# this obviously doesn't work for git releases
VERSION=`sed -n '/^version/{s/^.*= //;p}' /usr/share/drush/commands/provision/`
VERSION=`sed -n '/^version/{s/^.*= *//;p}' /usr/share/drush/commands/provision/`
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