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 Jun 2, 2013
1 parent 03f9558 commit 253d5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify_version
Expand Up @@ -12,7 +12,7 @@ DEB_VERS=$(head -1 $DEB_PATH | sed -e 's/^.*(//' -e 's/).*$//')

echo >&2 "$DEB_VERS <-- $DEB_PATH"

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

echo >&2 "$RPM_VERS <-- $RPM_PATH"
Expand Down

0 comments on commit 253d5d4

Please sign in to comment.