-
-
Notifications
You must be signed in to change notification settings - Fork 54
Add temporary directory to cloned repository #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Drop pipe in contributors task
|
This will only stop erasing |
|
When run from a cron job, |
|
Fixed. |
tresf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the -pipefail flag then?
cron/tasks/lmms/02-contributors
Outdated
| set -e | ||
|
|
||
| git shortlog -sne | cut -c 8- > doc/CONTRIBUTORS | ||
| git shortlog -sne > tmp/shortlog |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you just $var it and avoid the unnecessary mkdir/stdout/rm logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested -o pipefail and it does exactly what you're achieving without the temporary file. Merged in e326760.
|
Superseded by e326760 |
|
|
|
Bash is our defacto standard, that's fine. |
Drop pipe in contributors task
Pipes hide some errors.