[SKIP CI] fix env var handling
Some checks reported errors
continuous-integration/drone/tag Build was killed

This commit is contained in:
Robert Kaussow 2019-08-13 22:57:14 +02:00
parent 268eb6cb66
commit aa1f612806

View File

@ -9,8 +9,9 @@ steps:
environment:
CUPSRELEASE: "${DRONE_TAG##v}"
commands:
- echo "XXXXXXXXXXXXXXXXXXX"
- echo ${CUPSRELEASE:-2.2.10}
- echo $CUPSRELEAS- echo $CUPSRELEASEE
- CUPSRELEASE=${CUPSRELEASE:-2.2.10}
- echo $CUPSRELEASE
- wget https://github.com/apple/cups/releases/download/v${CUPSRELEASE:-2.2.10}/cups-${CUPSRELEASE:-2.2.10}-source.tar.gz
- mkdir ./rpms
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-${CUPSRELEASE:-2.2.10}-source.tar.gz