diff options
author | Francois Charette <francois@archlinux.org> | 2009-05-14 11:23:12 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-06-12 17:03:17 +0200 |
commit | 9217d0074e4962761320cc7423fc139b9d8ad382 (patch) | |
tree | 8e12a3b23d83182e5b85bab968c113eb11b0fa42 | |
parent | f1b7557d23c601a86a03cd5eee4feb4072a3b8b2 (diff) | |
download | dbscripts-9217d0074e4962761320cc7423fc139b9d8ad382.tar.gz dbscripts-9217d0074e4962761320cc7423fc139b9d8ad382.tar.xz |
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>
-rw-r--r-- | db-functions | 4 |
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" |