Skip to content

Commit

Permalink
[verify_version] Make the version verification script read the spec f…
Browse files Browse the repository at this point in the history
…ile from a standard location
  • Loading branch information
Islam Amer committed May 28, 2013
1 parent d6716d4 commit 3e349b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify_version.sh
Expand Up @@ -5,7 +5,7 @@
AC_PATH=configure.ac
AC_VERS=$(sed '/AC_INIT/!d; s/AC_INIT(dsme, \(.*\))/\1/' $AC_PATH)

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

RES=0
Expand Down

0 comments on commit 3e349b5

Please sign in to comment.