Commit d2b235ed authored by Andriy Senkovych's avatar Andriy Senkovych

Modify PATH variable instead of using sudo

parent 40c03114
......@@ -4,7 +4,6 @@
set -e
SUDO=sudo
DOXYGEN_VER=doxygen-1.8.7
DOXYGEN_TAR=${DOXYGEN_VER}.linux.bin.tar.gz
DOXYGEN_URL="http://ftp.stack.nl/pub/users/dimitri/${DOXYGEN_TAR}"
......@@ -51,14 +50,13 @@ doxygen_install()
{
wget -O - "${DOXYGEN_URL}" | \
tar xz -C ${TMPDIR-/tmp} ${DOXYGEN_VER}/bin/doxygen
$SUDO install -m 755 ${TMPDIR-/tmp}/${DOXYGEN_VER}/bin/doxygen \
${DOXYGEN_BIN};
export PATH="${TMPDIR-/tmp}/${DOXYGEN_VER}/bin:$PATH"
}
doxygen_run()
{
cd "${TRAVIS_BUILD_DIR}/build/doc";
doxygen Doxyfile;
cd "${TRAVIS_BUILD_DIR}";
doxygen ${TRAVIS_BUILD_DIR}/build/doc/Doxyfile;
}
gh_pages_prepare()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment