From 906756da3f04d48fb084840028e7130aab6e18cb Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 13 Aug 2019 23:19:57 +0200 Subject: [PATCH] fix env var handling --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 871feb3..37369db 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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