Browse code

Merge "Make deprecated() output to stderr"

Jenkins authored on 2017/01/04 04:53:44
Showing 1 changed files
... ...
@@ -216,7 +216,7 @@ function die_if_not_set {
216 216
 function deprecated {
217 217
     local text=$1
218 218
     DEPRECATED_TEXT+="\n$text"
219
-    echo "WARNING: $text"
219
+    echo "WARNING: $text" >&2
220 220
 }
221 221
 
222 222
 # Prints line number and "message" in error format