Skip to content

Commit cebfae8

Browse files
Docs: Small fix in the update_algolia_index.sh script.
1 parent 0c43e6f commit cebfae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/update_algolia_index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ algolia_index_tmp_path="docs/algolia-index"
2525
# Read version of the library from the v.list
2626
config_json_version=""
2727
while read line; do
28-
key="$( echo $line | grep -oP 'name="(\w+)"' )"
28+
key="$( echo $line | (grep -oP 'name="(\w+)"' || echo "") )"
2929
if [ "$key" = 'name="version"' ]; then
3030
config_json_version="$( echo $line | grep -oP "\d\.\d\.\d" )"
3131
break

0 commit comments

Comments
 (0)