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

vcsh: Add comments

parent 88e501ba
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,11 @@ write_gitignore() {
file="$new"
done;
done | sort -u)
# Contrary to GNU mktemp, mktemp on BSD/OSX requires a template for temp files
# Use the template GNU mktemo defaults to
tempfile=$(mktemp tmp.XXXXXXXXXX) || fatal "could not create tempfile" 51
echo '*' > "$tempfile" || fatal "could not write to '$tempfile'" 57
for gitignore in $gitignores; do
echo "$gitignore" | sed 's@^@!/@' >> "$tempfile" || fatal "could not write to '$tempfile'" 57
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment