aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-06-24 21:07:14 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-31 14:20:44 +0200
commitd284675241689a1445bb7560b416979b8e9cdde7 (patch)
tree99c75bbae224e85c1af1d766ce75e71f11b16031 /travis/check-executable-files.sh
parent[ticket/12693] Fix the query for bin/* (diff)
downloadphpbb-d284675241689a1445bb7560b416979b8e9cdde7.tar.gz
phpbb-d284675241689a1445bb7560b416979b8e9cdde7.tar.bz2
phpbb-d284675241689a1445bb7560b416979b8e9cdde7.zip
[ticket/12693] Expand manually the wildcard
PHPBB3-12693
Diffstat (limited to 'travis/check-executable-files.sh')
-rwxr-xr-xtravis/check-executable-files.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/travis/check-executable-files.sh b/travis/check-executable-files.sh
index 0a52c031dd..a6953dd0cf 100755
--- a/travis/check-executable-files.sh
+++ b/travis/check-executable-files.sh
@@ -9,7 +9,7 @@
# the docs/CREDITS.txt file.
#
set -e
-
+set -x
DB=$1
TRAVIS_PHP_VERSION=$2
path="$3"
@@ -18,6 +18,7 @@ if [ "$TRAVIS_PHP_VERSION" == "5.5" -a "$DB" == "mysqli" ]
then
# Check the permissions of the files
+ # The following variables MUST NOT contain any wildcard
# Directories to skip
directories_skipped="-path ${path}develop -o -path ${path}vendor"
@@ -25,7 +26,7 @@ then
files_skipped="-name composer.phar"
# Files which have to be executable
- executable_files="-path ${path}bin/\*"
+ executable_files="-path ${path}bin/phpbbcli.php"
incorect_files=$( \
find ${path} \