commit 089e7543ed6d517804586f0404bab870949eb549
parent eed60957b5cf8de9abf8fd3bac4d329586536e01
Author: Rolf Eike Beer <eike@sf-mail.de>
Date: Sat, 10 Aug 2019 20:10:17 +0200
TravisCI: avoid needless indirection for environment variable
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -3,13 +3,13 @@ language: c
env:
matrix:
- BUILD_NAME="default"
- - BUILD_NAME="utmp" FORCE_UTMP="1"
+ - BUILD_NAME="utmp" FORCE_UTMP="1" MAKEFLAGS="-o qtmp.h"
compiler:
- gcc
- clang
script:
- echo "${CC} -O2 -Wall" > conf-cc
- - if [ -n "${FORCE_UTMP}" ]; then export MAKEFLAGS="${MAKEFLAGS} -o qtmp.h"; cp qtmp.h1 qtmp.h; fi
+ - if [ -n "${FORCE_UTMP}" ]; then cp qtmp.h1 qtmp.h; fi
- make ${MAKEFLAGS} it man
- env DESTDIR=/tmp/qmail make ${MAKEFLAGS} package
- sudo make ${MAKEFLAGS} package