Skip to content

Make tmp directory if it doesn't exist#229

Merged
gabskoro merged 1 commit intomina-deploy:masterfrom
dvdhsu:master
Sep 16, 2014
Merged

Make tmp directory if it doesn't exist#229
gabskoro merged 1 commit intomina-deploy:masterfrom
dvdhsu:master

Conversation

@dvdhsu
Copy link
Copy Markdown
Contributor

@dvdhsu dvdhsu commented Sep 15, 2014

In #225, gabskoro noted that the tmp folder might not
exist in all Rails projects. So, touching restart.txt won't actually do
anything.

This creates the tmp directory, in case it doesn't exist, with mkdir -p.
Unfortunately, there isn't a flag for touch which forces intermediate
directory creation, so we've got to use a separate command.

In mina-deploy#225, gabskoro noted that the tmp folder might not
exist in all Rails projects. So, touching restart.txt won't actually do
anything.

This creates the tmp directory, in case it doesn't exist, with mkdir -p.
Unfortunately, there isn't a flag for touch which forces intermediate
directory creation, so we've got to use a separate command.
gabskoro added a commit that referenced this pull request Sep 16, 2014
Make tmp directory if it doesn't exist
@gabskoro gabskoro merged commit 924ca92 into mina-deploy:master Sep 16, 2014
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