From 1145be89f2f31e10e37a08347943fc1ef6c62faf Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 7 Jul 2016 21:36:40 +0300
Subject: [PATCH] - Correct syntax error with AWK on OpenBSD.

---
 bundle_certs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bundle_certs b/bundle_certs
index 6ad6d6c..0d22ca4 100755
--- a/bundle_certs
+++ b/bundle_certs
@@ -50,7 +50,7 @@ unbundle_cert () {
     local certificate
     mkdir -p certs
     awk '/-----BEGIN[A-Z0-9 ]*CERTIFICATE-----/ {n++} \
-        n > 0 {print > "certs/cert" (1+n)}' "$1"
+        n > 0 {print > ("certs/cert" (1+n))}' "$1"
     for certificate in certs/cert*
     do
         [ -f "$certificate" ] || continue
-- 
GitLab