Warn about usage of OEDIR.
authorChris Larson <clarson@kergoth.com>
Thu, 1 Jul 2004 23:19:21 +0000 (23:19 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 1 Jul 2004 23:19:21 +0000 (23:19 +0000)
bin/oe/parse/ConfHandler.py

index 66bf40d..6db74cc 100644 (file)
@@ -138,6 +138,9 @@ def handle(fn, data = {}, include = 0):
 
     if oldfile:
         oe.data.setVar('FILE', oldfile, data)
+
+    if oe.data.getVar('OEDIR', data, 1):
+        oe.note("OEDIR is deprecated, please switch to OEPATH.")
     return data
 
 def feeder(lineno, s, fn, data = {}):