Skip to content

Commit 823b536

Browse files
committed
lint
1 parent 420c128 commit 823b536

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN apk add --no-cache \
2222
&& cleanup.sh
2323

2424
RUN git clone https://github.com/pkp/ojs.git . \
25-
&& git checkout ${OJS_VERSION} \
25+
&& git checkout "${OJS_VERSION}" \
2626
&& git submodule update --init --recursive \
2727
&& rm -rf .github tests docs \
2828
&& composer -d lib/pkp install \
@@ -32,7 +32,7 @@ RUN git clone https://github.com/pkp/ojs.git . \
3232
# modify composer.json to be at least a week old so we can run composer install for contrib plugins
3333
&& NOW=$(date +%s) \
3434
&& SEVEN_DAYS_AGO=$((NOW - 604800)) \
35-
&& OLDDATE=$(date -d @${SEVEN_DAYS_AGO} +%Y%m%d%H%M.%S) \
35+
&& OLDDATE=$(date -d @"${SEVEN_DAYS_AGO}" +%Y%m%d%H%M.%S) \
3636
&& find /var/www/ojs/plugins -type f -name "composer.json" -exec touch -t "$OLDDATE" {} \;
3737

3838
RUN npm install \

0 commit comments

Comments
 (0)