Skip to content
Snippets Groups Projects
Commit 20e3b19c authored by Richard Hartmann's avatar Richard Hartmann
Browse files

vcsh: Improve error message

parent 0398a0a7
No related branches found
No related tags found
No related merge requests found
......@@ -362,7 +362,7 @@ write_gitignore() {
# Use the template GNU mktemo defaults to
# The downside to this is that we need to set TMPDIR explicitly; this may or may not be empty, so...
[ -z "$TMPDIR" ] && TMPDIR='/tmp'
tempfile=$(mktemp ${TMPDIR}/tmp.XXXXXXXXXX) || fatal "could not create tempfile" 51
tempfile=$(mktemp ${TMPDIR}/tmp.XXXXXXXXXX) || fatal "could not create tempfile: '${tempfile}'" 51
echo '*' > "$tempfile" || fatal "could not write to '$tempfile'" 57
for gitignore in $gitignores; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment