aboutsummaryrefslogtreecommitdiffstats
path: root/travis/check-executable-files.sh
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2017-05-21 18:25:57 +0200
committerjaviexin <javiexin@gmail.com>2017-05-21 18:25:57 +0200
commit37c48a59c318c12547c371f0d0a8bc84f5206dcf (patch)
treea45b111970e291ff871733cfe003a74e0631c441 /travis/check-executable-files.sh
parent60d6667eb4c5ad8a02d67dea62bc2d5b9553f958 (diff)
parentbd12504f6cf03b36821a5cea2bf77a419496dcdb (diff)
downloadforums-37c48a59c318c12547c371f0d0a8bc84f5206dcf.tar
forums-37c48a59c318c12547c371f0d0a8bc84f5206dcf.tar.gz
forums-37c48a59c318c12547c371f0d0a8bc84f5206dcf.tar.bz2
forums-37c48a59c318c12547c371f0d0a8bc84f5206dcf.tar.xz
forums-37c48a59c318c12547c371f0d0a8bc84f5206dcf.zip
Merge branch 'ticket/15068' of https://github.com/javiexin/phpbb into ticket/15068
Diffstat (limited to 'travis/check-executable-files.sh')
-rwxr-xr-xtravis/check-executable-files.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 4d420add1c..1aa8dca073 100755
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -12,10 +12,11 @@ set -e
DB=$1
TRAVIS_PHP_VERSION=$2
-root="$3"
+NOTESTS=$3
+root="$4"
path="${root}phpBB/"
-if [ "$TRAVIS_PHP_VERSION" == "5.3.3" -a "$DB" == "mysqli" ]
+if [ "$NOTESTS" == '1' ]
then
# Check the permissions of the files
@@ -27,7 +28,7 @@ then
files_skipped="-false"
# Files which have to be executable
- executable_files="-path ${path}bin/*"
+ executable_files="-path ${path}bin/* -o -path ${path}install/phpbbcli.php"
incorrect_files=$( \
find ${path} \