areusch commented on code in PR #11988:
URL: https://github.com/apache/tvm/pull/11988#discussion_r912262725
##########
docker/bash.sh:
##########
@@ -290,10 +289,10 @@ DOCKER_DEVICES=( )
# If the user gave a shortcut defined in the Jenkinsfile, use it.
EXPANDED_SHORTCUT=$(lookup_image_spec "${DOCKER_IMAGE_NAME}")
if [ -n "${EXPANDED_SHORTCUT}" ]; then
- if [ "${CI+x}" == "true" ]; then
+ if [ "${CI+x}" == "x" ]; then
Review Comment:
with +x it merely evaluates to "x" if the var is set and nothing if not, iiuc
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]