Skip to content

Commit

Permalink
[packaging] fix verify_version.sh to work with standard locations
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Amer committed Jun 2, 2013
1 parent dd5b4fb commit 92dce47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions verify_version.sh
Expand Up @@ -5,10 +5,10 @@
AC_PATH=configure.ac
AC_VERS=$(sed '/AC_INIT/!d; s/AC_INIT(libiphb, \(.*\))/\1/' $AC_PATH)

RPM_PATH=rpm/libiphb.spec
RPM_PATH=${RPM_SOURCE_DIR:-rpm}/${RPM_PACKAGE_NAME:-libiphb}.spec
RPM_VERS=$(grep '^Version:' $RPM_PATH |sed -e 's/^.*:[[:space:]]*//')

YAML_PATH=rpm/libiphb.yaml
YAML_PATH=${RPM_SOURCE_DIR:-rpm}/${RPM_PACKAGE_NAME:-libiphb}.yaml
YAML_VERS=$(grep '^Version:' $YAML_PATH |sed -e 's/^.*:[[:space:]]*//')

RES=0
Expand Down

0 comments on commit 92dce47

Please sign in to comment.