redirect command stdout to stderr
Otherwise it will be interpreted as compute program protocol
This commit is contained in:
parent
2c6dce83de
commit
ed51924211
2 changed files with 2 additions and 2 deletions
|
@ -110,5 +110,5 @@ An example `git-annex-compute-foo` shell script follows:
|
||||||
echo REPRODUCIBLE
|
echo REPRODUCIBLE
|
||||||
|
|
||||||
if [ -n "$input" ]; then
|
if [ -n "$input" ]; then
|
||||||
frobnicate --passes="$ANNEX_COMPUTE_passes" <"$input" >"$output"
|
frobnicate --passes="$ANNEX_COMPUTE_passes" -i "$input" -o "$output" >&2
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -17,5 +17,5 @@ echo "OUTPUT $2"
|
||||||
read output
|
read output
|
||||||
|
|
||||||
if [ -n "$input" ]; then
|
if [ -n "$input" ]; then
|
||||||
convert "$input" "$output"
|
convert "$input" "$output" >&2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue