Skip to content

Commit

Permalink
CD: Fix experimental build warning for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnHolmesII authored and Nekotekina committed Mar 27, 2020
1 parent 6712ac0 commit f5a5159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/git-version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function(gen_git_version rpcs3_src_dir)
# BUILD_REPOSITORY_NAME will look like "RPCS3/rpcs3"
# BUILD_SOURCEBRANCHNAME will look like "master"
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
if (DEFINED ENV{BUILD_REPOSITORY_NAME})
if (DEFINED ENV{BUILD_REPOSITORY_NAME} AND NOT "$ENV{BUILD_REPOSITORY_NAME}" STREQUAL "")
set(RPCS3_GIT_FULL_BRANCH "$ENV{BUILD_REPOSITORY_NAME}/$ENV{BUILD_SOURCEBRANCHNAME}")
endif()

Expand Down

0 comments on commit f5a5159

Please sign in to comment.