diff --git a/Makefile b/Makefile index 99dfea4..dfcf834 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,8 @@ build: if [ ! -d "runtime" ]; then \ - mkdir runtime/configs -p; \ - chmod 0777 -R runtime; \ + mkdir -p runtime/configs; \ + chmod 777 -R runtime; \ fi chmod +x bin/get-binaries.sh; \ if [ ! -f "bin/centrifugo" ]; then \ @@ -11,12 +11,12 @@ build: ./get-binaries.sh; \ cd ../; \ fi - if [ ! -f "rr" ]; then \ - vendor/bin/rr get;\ - fi if [ ! -d "vendor" ]; then \ composer i --ignore-platform-reqs; \ fi + if [ ! -f "rr" ]; then \ + vendor/bin/rr get;\ + fi if [ ! -d ".db" ]; then \ mkdir .db; \ chmod 0777 -R .db; \