Fix travis CI script bug

Signed-off-by: Huang Rui <vowstar@gmail.com>
fix/double
Huang Rui 2019-03-15 15:44:06 +08:00
parent 3e24c69e64
commit d5981f54a1
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ script:
do
echo "[MAKE]" $TRAVIS_BUILD_DIR/src/$DIR
cd $TRAVIS_BUILD_DIR/src/$DIR
if [ ! -f "$Makefile" ]; then
if [ ! -f "Makefile" ]; then
mkdir build && cd build
cmake -DPROJ=$DIR -DTOOLCHAIN=$TRAVIS_BUILD_DIR/cache/kendryte-toolchain/bin ../../../ || exit -1
make || exit -1