From de94bc29b75c03e003662ab9373b913e99662edf Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 17 Sep 2019 10:26:19 +0200 Subject: [PATCH] generate_descriptor_pkg.sh: fix bug in validation to use the right file Change-Id: I5849c0d40960b43d266b1c6077a36bc563026144 Signed-off-by: garciadeblas --- descriptor-packages/tools/generate_descriptor_pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/descriptor-packages/tools/generate_descriptor_pkg.sh b/descriptor-packages/tools/generate_descriptor_pkg.sh index 704f77f6..e14d4122 100755 --- a/descriptor-packages/tools/generate_descriptor_pkg.sh +++ b/descriptor-packages/tools/generate_descriptor_pkg.sh @@ -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 -- 2.25.1