mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 19:02:02 +08:00
Gee thanks travis for not just unsetting variables if they have nonsense data in them
This commit is contained in:
parent
cc45494a2d
commit
b7aa965fc8
@ -43,8 +43,10 @@ function set_branch ()
|
||||
current_branch=$APPVEYOR_REPO_BRANCH
|
||||
fi
|
||||
if [ ! -z ${TRAVIS_BRANCH} ]; then
|
||||
echo "Setting to TRAVIS_BRANCH"
|
||||
current_branch=$TRAVIS_BRANCH
|
||||
if [ "${TRAVIS_BRANCH}" != "false" ]; then
|
||||
echo "Setting to TRAVIS_BRANCH"
|
||||
current_branch=$TRAVIS_BRANCH
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user