Skip to content

Commit

Permalink
[cleanup] Remove remnants of yaml usage
Browse files Browse the repository at this point in the history
The yaml files have been removed ages ago.

Remove yaml version checks.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Mar 22, 2017
1 parent 19bd33b commit 5d3aa98
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions verify_version.sh
Expand Up @@ -34,18 +34,6 @@ if [ "$SPEC_VERS" != "$AC_VERS" ]; then
fi
fi

# The yaml file is included in the git tree, but might not be available
# when making package build via OBS ...
YAML_PATH=${RPM_SOURCE_DIR:-rpm}/${RPM_PACKAGE_NAME:-dsme}.yaml

if [ -f $YAML_PATH ]; then
YAML_VERS=$(grep '^Version:' $YAML_PATH |sed -e 's/^.*:[[:space:]]*//')
if [ "$YAML_VERS" != "$AC_VERS" ]; then
echo >&2 "$AC_PATH=$AC_VERS vs $YAML_PATH=$YAML_VERS"
RES=1
fi
fi

if [ $RES != 0 ]; then
echo >&2 "Conflicting package versions"
fi
Expand Down

0 comments on commit 5d3aa98

Please sign in to comment.