Skip to content

Commit 994e6f3

Browse files
authored
remove legacy backquote (#556)
- In bash, always prefer "$(...)" syntax over legacy "`...`". - Always quote command substitutions. If the current directory contains a space, this command with an unquoted substitution would fail.
1 parent f496c01 commit 994e6f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ Does your app/library support PPM? Show it!
4141
cd into/your-application
4242

4343
# run Symfony
44-
docker run -v `pwd`:/var/www -p 8080:80 phppm/nginx --bootstrap=symfony --static-directory=web/
44+
docker run -v "$(pwd):/var/www" -p 8080:80 phppm/nginx --bootstrap=symfony --static-directory=web/
4545

4646
# run Laravel
47-
docker run -v `pwd`:/var/www -p 8080:80 phppm/nginx --bootstrap=laravel --static-directory=public/
47+
docker run -v "$(pwd):/var/www" -p 8080:80 phppm/nginx --bootstrap=laravel --static-directory=public/
4848
```
4949

5050
Docker is easier to setup and maintain. If your applications requires additional environment tools or libraries,

0 commit comments

Comments
 (0)