Try if the variables are lower-case

This commit is contained in:
István Váradi 2018-01-25 17:21:02 +01:00
parent 1acd7db5f8
commit 7a1f32894b

View file

@ -20,6 +20,8 @@ if test -z "${DRONE_DIR}"; then
DRONE_DIR=`dirname ${DRONE_WORKSPACE}`
fi
DEBIAN_SECRET_KEY="$debian_secret_key"
DEBIAN_SECRET_IV="$debian_secret_iv"
if test "$DEBIAN_SECRET_KEY" -a "$DEBIAN_SECRET_IV"; then
openssl aes-256-cbc -K $DEBIAN_SECRET_KEY -iv $DEBIAN_SECRET_IV -in admin/linux/debian/signing-key.txt.enc -d | gpg --import