From 9217d0074e4962761320cc7423fc139b9d8ad382 Mon Sep 17 00:00:00 2001 From: Francois Charette Date: Thu, 14 May 2009 11:23:12 +0200 Subject: 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 --- db-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db-functions') 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" -- cgit v1.2.3-24-g4f1b