generate_descriptor_pkg.sh: fix bug in validation to use the right file 58/7958/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 17 Sep 2019 08:26:19 +0000 (10:26 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 20 Sep 2019 07:14:20 +0000 (09:14 +0200)
Change-Id: I5849c0d40960b43d266b1c6077a36bc563026144
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
descriptor-packages/tools/generate_descriptor_pkg.sh

index 704f77f..e14d412 100755 (executable)
@@ -792,7 +792,7 @@ if [ $CREATE == false ]; then
     cd $BASE_DIR
     # Mrityunjay Yadav: Validate descriptor
     GEN_BASEDIR=$(dirname "$0")
-    python $GEN_BASEDIR/validate_descriptor.py $DEST_DIR/$PKG/$descriptor
+    python $GEN_BASEDIR/validate_descriptor.py $BASE_DIR/$PKG/$descriptor
     if [ $? -ne 0 ]; then
         rc=$?
         echo "ERROR: validating descriptor for $PKG ($rc)" >&2