equal
deleted
inserted
replaced
|
1 configfile="/etc/puppi/puppi.conf" |
|
2 |
|
3 # Load general configurations |
|
4 if [ ! -f $configfile ] ; then |
|
5 echo "Config file: $configfile not found" |
|
6 exit 2 |
|
7 else |
|
8 . $configfile |
|
9 . $scriptsdir/functions |
|
10 fi |
|
11 |
|
12 # Load project runtime configuration |
|
13 projectconfigfile="$workdir/$project/config" |
|
14 if [ ! -f $projectconfigfile ] ; then |
|
15 echo "Project runtime config file: $projectconfigfile not found" |
|
16 exit 2 |
|
17 else |
|
18 . $projectconfigfile |
|
19 fi |
|
20 |
|
21 # Activate debug |
|
22 case "$debug" in |
|
23 yes) set -x ;; |
|
24 full) set -xv ;; |
|
25 esac |