1
0
mirror of https://git.envs.net/envs/ifconfig synced 2024-11-26 06:33:46 +01:00

(*)fixed travis build script

This commit is contained in:
Fan Yang 2015-01-10 11:25:12 +08:00
parent 7885a55eb9
commit bbb2479fd4

@ -71,15 +71,13 @@ go_run()
prebuilt_prepare() prebuilt_prepare()
{ {
cd "${TRAVIS_BUILD_DIR}/doc"; cd "${TRAVIS_BUILD_DIR}";
[ ! -d "html" ] || \
abort "Doxygen target directory already exists."
git --version git --version
git clone --single-branch -b prebuilt "${GITHUB_CLONE}" prebuilt git clone --single-branch -b prebuilt "${GITHUB_CLONE}" prebuilt
cd prebuilt cd prebuilt
# setup git config (with defaults) # setup git config (with defaults)
git config user.name "${GIT_NAME-travis}" git config user.name "${GIT_NAME}"
git config user.email "${GIT_EMAIL-"travis@localhost"}" git config user.email "${GIT_EMAIL}"
# clean working dir # clean working dir
rm -f .git/index rm -f .git/index
git clean -df git clean -df