mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 14:12:01 +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
|
current_branch=$APPVEYOR_REPO_BRANCH
|
||||||
fi
|
fi
|
||||||
if [ ! -z ${TRAVIS_BRANCH} ]; then
|
if [ ! -z ${TRAVIS_BRANCH} ]; then
|
||||||
echo "Setting to TRAVIS_BRANCH"
|
if [ "${TRAVIS_BRANCH}" != "false" ]; then
|
||||||
current_branch=$TRAVIS_BRANCH
|
echo "Setting to TRAVIS_BRANCH"
|
||||||
|
current_branch=$TRAVIS_BRANCH
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user