[Pkg-php-commits] [php/debian-sid] Really add a tee command

Ondřej Surý ondrej at sury.org
Wed Jan 20 08:40:40 UTC 2010


---
 debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index ae44605..19c2893 100755
--- a/debian/rules
+++ b/debian/rules
@@ -143,10 +143,10 @@ unprepared:
 test-results.txt: build-apache2-stamp build-cli-stamp build-cgi-stamp
 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	mkdir -p temp_session_store
-	env NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=./cgi-build/sapi/cgi/cgi-bin.php5 TEST_PHP_EXECUTABLE=./apache2-build/sapi/cli/php ./apache2-build/sapi/cli/php run-tests.php | test-results.txt
+	env NO_INTERACTION=1 TEST_PHP_CGI_EXECUTABLE=./cgi-build/sapi/cgi/cgi-bin.php5 TEST_PHP_EXECUTABLE=./apache2-build/sapi/cli/php ./apache2-build/sapi/cli/php run-tests.php | tee test-results.txt
 	rm -rf temp_session_store
 else
-	echo 'nocheck found in DEB_BUILD_OPTIONS' | test-results.txt
+	echo 'nocheck found in DEB_BUILD_OPTIONS' | tee test-results.txt
 endif
 
 build: build-apache2-stamp build-apache2filter-stamp build-cgi-stamp build-cli-stamp build-pear-stamp test-results.txt
-- 
1.6.3.3




More information about the Pkg-php-commits mailing list