From 908ffb49d91308eaf8a2316f4cb7c00aa2aff967 Mon Sep 17 00:00:00 2001 From: Margen67 Date: Sat, 25 Sep 2021 17:17:29 -1000 Subject: [PATCH] ci_build.sh: Rename BUILD_DIR Travis is no longer the only CI so this name doesn't make sense. --- ci_build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ci_build.sh b/ci_build.sh index 0b650d7..39bfdbc 100755 --- a/ci_build.sh +++ b/ci_build.sh @@ -2,10 +2,10 @@ set -e -if [ -z "${TRAVIS_BUILD_DIR}" ] ; then - TRAVIS_BUILD_DIR=$(pwd) +if [ -z "${BUILD_DIR}" ] ; then + BUILD_DIR=$(pwd) fi -echo TRAVIS_BUILD_DIR is \"${TRAVIS_BUILD_DIR}\" +echo BUILD_DIR is \"${BUILD_DIR}\" # Output directory rm -rf _output @@ -28,8 +28,8 @@ if [ ! -d _watcom ] ; then (cd _watcom && tar -xf ../ow-snapshot.tar.gz) fi -export PATH=$TRAVIS_BUILD_DIR/bin:$PATH:$TRAVIS_BUILD_DIR/_watcom/binl64 -export WATCOM=$TRAVIS_BUILD_DIR/_watcom +export PATH=$BUILD_DIR/bin:$PATH:$BUILD_DIR/_watcom/binl64 +export WATCOM=$BUILD_DIR/_watcom git clean -x -d -f -e _output -e _watcom -e ow-snapshot.tar.gz make all COMPILER=owlinux