ipmi-sensor-inventory: Fix the output dir path for sensor config yaml

Fix the same path in ipmi-sensor-inventory-example-native.bb

Change-Id: I57a9173c04a3636864c09f822428cf54f94822f6
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-example-native.bb b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-example-native.bb
index 2f7cc5c..2464ff0 100644
--- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-example-native.bb
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-example-native.bb
@@ -16,7 +16,7 @@
         # sensor data extracted  from the mrw.
         # provides a sample output file.
 
-        DEST=${D}${config_datadir}
+        DEST=${D}${sensor_datadir}
         install -d ${DEST}
         install config.yaml ${DEST}/sensor.yaml
 }
diff --git a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
index 284369d..db018c6 100644
--- a/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
+++ b/common/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-native.bb
@@ -17,7 +17,7 @@
 S = "${WORKDIR}"
 
 do_install() {
-        DEST=${D}${config_datadir}
+        DEST=${D}${sensor_datadir}
         install -d ${DEST}
 
         ${bindir}/perl-native/perl \