Skip to content

Conversation

@tarrenj
Copy link

@tarrenj tarrenj commented Aug 9, 2018

Remove depreciated -a file operator in favor of -e.

fi

if ! [ -e index.php -a -e wp-includes/version.php ]; then
if ! [ -e index.php -e wp-includes/version.php ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite right:

$ [ -e xyz -e abc ]
-bash: [: too many arguments

What this needs to be updated to instead is something like:

	if [ ! -e index.php ] && [ ! -e wp-includes/version.php ]; then

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved. Thanks for the review.

@tianon tianon merged commit ba478b0 into docker-library:master Aug 10, 2018
@tianon
Copy link
Member

tianon commented Aug 10, 2018

Thanks!

tianon added a commit to infosiftr/stackbrew that referenced this pull request Aug 14, 2018
- `docker`: 18.06.1-ce-rc1
- `ghost`: 1.25.5
- `golang`: 1.11rc1
- `memcached`: 1.5.10
- `mysql`: expose `mysqlx` port (docker-library/mysql#466)
- `openjdk`: 8u181 (Debian)
- `postgres`: `11~beta3-1.pgdg90+2`
- `rocket.chat`: 0.68.4
- `wordpress`: docker-library/wordpress#324
tianon added a commit to infosiftr/stackbrew that referenced this pull request Aug 14, 2018
- `docker`: 18.06.1-ce-rc1
- `ghost`: 1.25.5
- `memcached`: 1.5.10
- `mysql`: expose `mysqlx` port (docker-library/mysql#466)
- `openjdk`: 8u181 (Debian)
- `postgres`: `11~beta3-1.pgdg90+2`
- `rocket.chat`: 0.68.4
- `wordpress`: docker-library/wordpress#324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants