Skip to content

Commit dd74b79

Browse files
committed
[werft] Fix document index
1 parent 4037d81 commit dd74b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.werft/jobs/build/installer/post-process.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ MATCHES="$(grep -c -- --- k8s.yaml)"
5252
# get the read number of K8s manifest docs
5353
# K8s object names and kinds are duplicated in a config map to faciliate deletion
5454
# subtract one (the config map) and then divide by 2 to get the actual # of docs we'll loop through
55-
DOCS="$((((MATCHES - 1) / 2) + 1))"
55+
DOCS="$(((MATCHES - 1) / 2))"
5656
documentIndex=0
5757

5858
while [ "$documentIndex" -le "$DOCS" ]; do

0 commit comments

Comments
 (0)