Skip to content

Commit ae01a9f

Browse files
committed
Fix the if statements for checking if env is set.
1 parent 94a383b commit ae01a9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env bash
22

3-
if [ -n ${PHP_VERSION} ]; then
3+
if [ -n "${PHP_VERSION}" ]; then
44
cp env-example .env
55
docker-compose build
66
docker images
77
fi
88

9-
if [ -n ${HUGO_VERSION} ]; then
9+
if [ -n "${HUGO_VERSION}" ]; then
1010
HUGO_PACKAGE=hugo_${HUGO_VERSION}_Linux-64bit
1111
HUGO_BIN=hugo_${HUGO_VERSION}_linux_amd64
1212

0 commit comments

Comments
 (0)