Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
Nextcloud
server
Commits
6d8884e8
Commit
6d8884e8
authored
10 years ago
by
Vincent Petry
Browse files
Options
Downloads
Patches
Plain Diff
Add check for "replace" command
parent
eb0e9e56
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
autotest-external.sh
+5
-0
5 additions, 0 deletions
autotest-external.sh
with
5 additions
and
0 deletions
autotest-external.sh
+
5
−
0
View file @
6d8884e8
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment