fix env var handling
This commit is contained in:
parent
7ac8f1ad89
commit
906756da3f
@ -9,7 +9,7 @@ steps:
|
||||
environment:
|
||||
CUPSRELEASE: "${DRONE_TAG##v}"
|
||||
commands:
|
||||
- [ -z "$var" ] && CUPSRELEASE=2.2.10
|
||||
- [ -z "$CUPSRELEASE" ] && CUPSRELEASE=2.2.10
|
||||
- wget https://github.com/apple/cups/releases/download/v$CUPSRELEASE/cups-$CUPSRELEASE-source.tar.gz
|
||||
- mkdir ./rpms
|
||||
- rpmbuild -ta --define "_rpmdir $(pwd)/rpms" --without libusb1 cups-$CUPSRELEASE-source.tar.gz
|
||||
|
Reference in New Issue
Block a user