[Pkg-owncloud-commits] [owncloud] 120/215: Add check for "replace" command

David Prévot taffit at moszumanska.debian.org
Tue May 5 01:01:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 6d8884e8a19fda70ff0ac754f325d0ff858bedef
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Mon Apr 27 18:03:49 2015 +0200

    Add check for "replace" command
---
 autotest-external.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/autotest-external.sh b/autotest-external.sh
index c4d5ffb..6ebe093 100755
--- a/autotest-external.sh
+++ b/autotest-external.sh
@@ -32,6 +32,11 @@ if ! [ -x "$PHPUNIT" ]; then
 	exit 3
 fi
 
+if ! which replace > /dev/null 2>&1; then
+	echo "The command 'replace' is not available on this system. Please install it first." >&2
+	exit 5
+fi
+
 PHPUNIT_VERSION=$("$PHPUNIT" --version | cut -d" " -f2)
 PHPUNIT_MAJOR_VERSION=$(echo $PHPUNIT_VERSION | cut -d"." -f1)
 PHPUNIT_MINOR_VERSION=$(echo $PHPUNIT_VERSION | cut -d"." -f2)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list