summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorFrancois Charette <francois@archlinux.org>2009-05-14 11:23:12 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-06-12 08:03:17 -0700
commit9217d0074e4962761320cc7423fc139b9d8ad382 (patch)
tree8e12a3b23d83182e5b85bab968c113eb11b0fa42 /db-functions
parentf1b7557d23c601a86a03cd5eee4feb4072a3b8b2 (diff)
fix redirection to stderr in get_svnpath
[Aaron: Use >&2 instead of /dev/stderr, just in the offchance that /dev is missing for some reason] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-functions b/db-functions
index cee13ac..830886f 100644
--- a/db-functions
+++ b/db-functions
@@ -99,8 +99,8 @@ get_svnpath () { #get_svnpath reponame
eval repopath=${var}
if [ -z "$repopath" ]; then
- echo "ERROR: SVN path not defined for '${1}'" 2>
- echo " Please check SVNREPO_${1} config setting" 2>
+ echo "ERROR: SVN path not defined for '${1}'" >&2
+ echo " Please check SVNREPO_${1} config setting" >&2
fi
echo "$repopath"