Project

General

Profile

Revision d3889c60

Added by Julien Enselme almost 9 years ago

Correct import of scripts-config-site.sh.

In bin/d7-delete-site.sh and bin/d7-reset-variables.sh the script was executed, not imported.

View differences:

bin/d7-delete-site.sh
21 21
shift $((OPTIND-1))
22 22

  
23 23
. /home/assos/bin/scripts-config.sh
24
param="${site_name}" /home/assos/bin/scripts-config-site.sh
24
param="${site_name}" . /home/assos/bin/scripts-config-site.sh
25 25
. /home/assos/bin/scripts-utils.sh
26 26

  
27 27
echo 'Awaiting for git status. (may take a while)'
bin/d7-reset-variables.sh
8 8
. /home/assos/bin/print-help-if-required.sh
9 9

  
10 10
if [ -n "$1" ] ; then
11
    param="$1" /home/assos/bin/scripts-config-site.sh
11
    param="$1" . /home/assos/bin/scripts-config-site.sh
12 12
    # default is an exception to the rule
13 13
    # find returns the name of the as the absolute path, hence the use of grep
14 14
    # and not =

Also available in: Unified diff