git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
travis
[plcapi.git]
/
tests
/
ci
/
travis
/
setup_apache.sh
diff --git
a/tests/ci/travis/setup_apache.sh
b/tests/ci/travis/setup_apache.sh
index
e199c86
..
90a207e
100755
(executable)
--- a/
tests/ci/travis/setup_apache.sh
+++ b/
tests/ci/travis/setup_apache.sh
@@
-1,8
+1,7
@@
#!/bin/sh
#!/bin/sh
-# make sure all files and folders are accisble by Apache
-
-sudo find /home -type d -exec chmod 755 {} \;
+# make sure all files and folders are accessible by Apache
+sudo find $(dirname $(pwd)) -type d -exec chmod 755 {} \;
sudo find . -type f -name "*.php" -exec chmod 644 {} \;
# set up Apache for php-fpm
sudo find . -type f -name "*.php" -exec chmod 644 {} \;
# set up Apache for php-fpm