-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathupdate.sh
executable file
·40 lines (33 loc) · 1.12 KB
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
# This script copies the respective files into each folder
#@todo write a loop to parse an array of files to copy i.e.
# {
# runtests.php: ['7/apache', '8/apache'],
# entrypoint.sh: ['7/apache', '8/apache'],
# }
#
cp README.md ./7/apache
cp README.md ./8/apache
cp README.md ./9/apache
cp README.md ./10/apache
cp README.md ./11/apache
cp templates/bootstrap.php ./7/apache
cp templates/bootstrap.php ./8/apache
cp templates/bootstrap.php ./9/apache
cp templates/bootstrap.php ./10/apache
cp templates/bootstrap.php ./11/apache
cp templates/entrypoint.sh ./7/apache
cp templates/entrypoint.sh ./8/apache
cp templates/entrypoint.sh ./9/apache
cp templates/entrypoint.sh ./10/apache
cp templates/entrypoint.sh ./11/apache
cp templates/php-overrides.ini ./7/apache
cp templates/php-overrides.ini ./8/apache
cp templates/php-overrides.ini ./9/apache
cp templates/php-overrides.ini ./10/apache
cp templates/php-overrides.ini ./11/apache
cp templates/7/runtests.php ./7/apache
cp templates/8/runtests.php ./8/apache
cp templates/9/runtests.php ./9/apache
cp templates/10/runtests.php ./10/apache
cp templates/11/runtests.php ./11/apache