var.sh 1.03 KB
Newer Older
1
2
touch manifests/variable.sh
chmod a+x manifests/variable.sh
3
4
5
6
7

cat > manifests/variable.sh <<EOF
echo ""
echo "Run variable.sh"
echo ""
8
# The variables we created when we ran setup.sh.
9
10
11
12
export vgrthostname=${vgrthostname}
export vgrtip=${vgrtip}
export vgrtserver=${vgrtserver}
export vgrtsite=${vgrtsite}
13
14
export vgrtwatiamid=${vgrtwatiamid}
export vgrtemail=${vgrtemail}
15

16
17
18
19
20
21
# The default PHP for our Drupal7.
export VGRTPHPDRUPAL7=${vgrtphpdrupal7}

# The default PHP for Drupal8.
export VGRTPHPDRUPAL8=${vgrtphpdrupal8}

22
# Required so the escaped text stays escaped in the drupal.sh file.
23
24
25
26
27
28
29
export VGUWHOST='\$UWhost'
export VGUWPREF='\$UWpref'
export VGUWDB='\$UWdb'
export VGUWUSER='\$UWuser'
export VGUWPASS='\$UWpass'
export VGUWPRI='\$UWpri'
export VGUWCONF='\$conf'
30
export VGUWCONFD8='\$settings'
31
export VGUWCONFD8D='\$config_directories'
32

33
# Required for some variables related to the manifest files.
34
35
export VGUWSITE='\$site'
export VGUWPROFILE='\$profile'
36

37
38
# The version of PHP we want as the default.
export VGDEFAULTPHPVERSION=${vgrtdefaultphp}
39
EOF