diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-28 10:44:32 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-28 10:44:32 +0200 |
commit | b55297a059a7ba13517f58d22611f2a3448da2e1 (patch) | |
tree | 3626f6bffd37282fec4cd691dc7271fdb6f015a5 | |
parent | b4a15db046c01a6fc4c097684d4724b009d0f134 (diff) | |
parent | 6d8884e8a19fda70ff0ac754f325d0ff858bedef (diff) | |
download | nextcloud-server-b55297a059a7ba13517f58d22611f2a3448da2e1.tar.gz nextcloud-server-b55297a059a7ba13517f58d22611f2a3448da2e1.zip |
Merge pull request #15896 from owncloud/autotest-external-replacecommand
Add check for "replace" command in autotest-external
-rwxr-xr-x | autotest-external.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autotest-external.sh b/autotest-external.sh index c4d5ffb181f..6ebe093c8a7 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) |