Skip to content

Commit c2dcff7

Browse files
committed
fix: add CODE override to generate-order Makefile target
1 parent ee8426a commit c2dcff7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ generate-order:
210210
if [ -z "$$signerIp" ]; then signerIp=$$(curl -s https://api.ipify.org); fi; \
211211
mobile="$${CERTINEXT_REQUESTOR_MOBILE:-0000000000}"; \
212212
name="$${CERTINEXT_REQUESTOR_NAME:-Keyfactor Gateway Test}"; \
213+
if [ -n "$(CODE)" ]; then CERTINEXT_PRODUCT_CODE="$(CODE)"; fi; \
213214
echo "GenerateOrderSSL domain=$(DOMAIN) productCode=$$CERTINEXT_PRODUCT_CODE validity=$(VALIDITY) saveAndHold=$(SAVE_AND_HOLD) signerIp=$$signerIp ts=$$ts txn=$$txn"; \
214215
if [ -n "$(CSR_FILE)" ] && [ -f "$(CSR_FILE)" ]; then \
215216
result=$$(jq -n \

0 commit comments

Comments
 (0)