From: garciadeblas Date: Tue, 17 Sep 2019 08:26:19 +0000 (+0200) Subject: generate_descriptor_pkg.sh: fix bug in validation to use the right file X-Git-Tag: v7.0.0rc1~61 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=de94bc29b75c03e003662ab9373b913e99662edf;p=osm%2Fdevops.git generate_descriptor_pkg.sh: fix bug in validation to use the right file Change-Id: I5849c0d40960b43d266b1c6077a36bc563026144 Signed-off-by: garciadeblas --- 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