Project

General

Profile

Revision 6c6343d9

Added by Julien Enselme about 9 years ago

Improve the detection of default with the path of a site.

Use a utilitary function to extract the exact site name from a site path.

Close #572

View differences:

bin/d7-reset-piwik-variables.sh
85 85
esac
86 86

  
87 87
# Default is an exception and cannot be treated in the case
88
if echo "$1" | grep -q default ; then
88
if [ "$1" = 'default' ] ; then
89 89
    piwik_id=101
90 90
fi
91 91

  

Also available in: Unified diff