Project

General

Profile

Revision a629a580

Added by Benjamin Luce about 9 years ago

Correct import of scripts-config-site.sh

Close #531

View differences:

bin/scripts-config-site.sh
11 11
    exit 1
12 12
fi
13 13

  
14
if [ -z "$1" ] ; then
14
if [ -z "${param}" ] ; then
15 15
    echo "This script needs a site name as argument."
16 16
    exit 1
17 17
fi
18 18

  
19 19
scripts_config_site='imported'
20 20

  
21
d7_site_name="$1"
21
d7_site_name="${param}"
22 22
d7_site_dir="${d7_dir_sites}/assos.centrale-marseille.fr.${d7_site_name}"
23 23
d7_site_settings="${d7_site_dir}/settings.php"
24 24
d7_site_settings_local="${d7_site_dir}/settings.local.php"

Also available in: Unified diff