Commit f015c9ea authored by mig5's avatar mig5

#1123176 by sanduhrs - switch to mktemp instead of tempfile in upgrade script...

#1123176 by sanduhrs - switch to mktemp instead of tempfile in upgrade script to retain CentOS out-of-the-box compatibility
parent 1203c275
......@@ -36,7 +36,7 @@ else
exit 1
fi
TEMPFILE=`tempfile`
TEMPFILE=`mktemp`
$DRUSH --pipe @hostmaster status | egrep "site_uri|drupal_root" >> $TEMPFILE || true
if grep -q 'site_uri' $TEMPFILE; then
# this sources the result of drush --pipe so we initialise shell variables used later
......
Markdown is supported
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