From: Matteo Nastasi (mop) <nastasi@alternativeoutput.it>
Date: Wed, 3 Sep 2014 16:37:16 +0000 (+0200)
Subject: add executability to php test files
X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=44de35e576c47192b7408197d7acbf354dee0f71;p=curl-de-sac.git

add executability to php test files
---

diff --git a/INSTALL.sh b/INSTALL.sh
index e901dd6..95cc98d 100755
--- a/INSTALL.sh
+++ b/INSTALL.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-set -x
+#set -x
 #
 # Defaults
 #
@@ -271,9 +271,12 @@ for i in $(find web -name '.htaccess' -o -name '*.php' -o -name '*.phh' -o -name
     install -m 644 "web/$i" "${web_path}/$i"
 done
 if [ "$test_add" = "TRUE" ]; then
-    for i in $(find webtest -name '.htaccess' -o -name '*.php' -o -name '*.phh' -o -name '*.pho' -o -name '*.css' -o -name '*.js' -o -name '*.mp3' -o -name '*.swf' -o -name 'terms-of-service*' | sed 's/^........//g'); do
+    for i in $(find webtest -name '.htaccess' -o -name '*.phh' -o -name '*.pho' -o -name '*.css' -o -name '*.js' -o -name '*.mp3' -o -name '*.swf' -o -name 'terms-of-service*' | sed 's/^........//g'); do
         install -m 644 "webtest/$i" "${web_path}/$i"
     done
+    for i in $(find webtest -name '*.php' | sed 's/^........//g'); do
+        install -m 755 "webtest/$i" "${web_path}/$i"
+    done
 fi
 
 # # .js substitutions