Skip to content

Commit b0e88ea

Browse files
committed
Fix shellcheck
Signed-off-by: Florian Hotze <dev@florianhotze.com>
1 parent d0fdd9d commit b0e88ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ RUN apk update --no-cache && \
6262
wget \
6363
zip && \
6464
# Install NodeJS only for openHAB >= 5
65-
if [ $(echo "$OPENHAB_VERSION" | sed -E 's/^([0-9]+).*/\1/') -ge 5 ]; then apk add --no-cache nodejs; fi && \
65+
if [ "$(echo "$OPENHAB_VERSION" | sed -E 's/^([0-9]+).*/\1/')" -ge 5 ]; then apk add --no-cache nodejs; fi && \
6666
chmod u+s /usr/sbin/arping && \
6767
rm -rf /var/cache/apk/*
6868

0 commit comments

Comments
 (0)