Commit 603d14ed authored by anarcat's avatar anarcat Committed by anarcat
Browse files

fix old platform parsing regex

parent 90277181
......@@ -75,7 +75,7 @@ case "$1" in
# there's already an install
SITE=`grep URI $TEMPFILE | sed -e 's/^.*://'`
OLD_PLATFORM=`grep 'Drupal root' $TEMPFILE | sed -e 's/^.*://'`
OLD_PLATFORM=`grep 'Drupal root' $TEMPFILE | sed -e 's/^.*:[[:space:]]*//;s/[[:space:]]*$//'`
if [ -d "$NEW_PLATFORM" ]; then
# this is not an upgrade, do nothing
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