aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2010-12-21 19:36:10 +0000
committerNicolas Vigier <boklm@mageia.org>2010-12-21 19:36:10 +0000
commitf03f0faaa7b240c1f8748223c783f142ae91588d (patch)
tree7a992a973b1c3153fb0cb6cc91dbfa285ed971ee /modules/subversion/templates
parenta3082b0aa13b26952e9db674af8f62555615fccf (diff)
downloadpuppet-f03f0faaa7b240c1f8748223c783f142ae91588d.tar
puppet-f03f0faaa7b240c1f8748223c783f142ae91588d.tar.gz
puppet-f03f0faaa7b240c1f8748223c783f142ae91588d.tar.bz2
puppet-f03f0faaa7b240c1f8748223c783f142ae91588d.tar.xz
puppet-f03f0faaa7b240c1f8748223c783f142ae91588d.zip
print the error on stderr so the user can see it
Diffstat (limited to 'modules/subversion/templates')
-rw-r--r--modules/subversion/templates/no_binary2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/subversion/templates/no_binary b/modules/subversion/templates/no_binary
index 5787eae7..a7f2eb94 100644
--- a/modules/subversion/templates/no_binary
+++ b/modules/subversion/templates/no_binary
@@ -8,7 +8,7 @@ TXN="$2"
# here to avoid simple mistakes
if svnlook changed -t "$TXN" "$REP" | grep -qi '\.\(gz\|bz2\|xz\|lzma\|Z\|7z\|tar\|tgz\|zip\|jpg\|gif\|png\|ogg\|mp3\|wav\|rar\|pdf\)$'
then
- echo 'no binary files allowed on this repository'
+ echo 'no binary files allowed on this repository' >&2
exit 1
fi