Fossil SCM
|
1
|
#!/bin/sh |
|
2
|
# Stands in for a program that fossil runs, such as ssh or a merge tool. |
|
3
|
# Appends each of its arguments to the file $ARGS_LOG, on a line of its |
|
4
|
# own inside <>, and exits with status 1 without doing anything else. |
|
5
|
for argument in "$@"; do |
|
6
|
printf '<%s>\n' "$argument" |
|
7
|
done >> "$ARGS_LOG" |
|
8
|
exit 1 |
|
9
|
|