Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit fec7a61

Browse files
authored
Fix Travis PR detection environment (#10974)
1 parent 25228ca commit fec7a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [[ -n $CI ]]; then
1212
export CI_BUILD_ID=$TRAVIS_BUILD_ID
1313
export CI_COMMIT=$TRAVIS_COMMIT
1414
export CI_JOB_ID=$TRAVIS_JOB_ID
15-
if $TRAVIS_PULL_REQUEST; then
15+
if [[ $TRAVIS_PULL_REQUEST != false ]]; then
1616
export CI_PULL_REQUEST=true
1717
else
1818
export CI_PULL_REQUEST=

0 commit comments

Comments
 (0)