diff --git a/make/rpmdist.mk b/make/rpmdist.mk index 3bf5deab..29d1f6d6 100644 --- a/make/rpmdist.mk +++ b/make/rpmdist.mk @@ -150,8 +150,8 @@ define increase_build_number if [ "$(CHECK_CVS_SYNC_BEFORE_RPM_RELEASE)" = true ]; then \ $(check_cvs_sync) ;\ fi ;\ - if [ "$(LAST_RPM_VERSION)" != $(RPM_VERSION) ]; then \ - echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(LAST_RPM_VERSION)" ;\ + if [ "$(LAST_RPM_VERSION)" != "$(RPM_VERSION)" ]; then \ + echo "+ no need to increase build number of $(RPM_VERSION), last rpm has $(LAST_RPM_VERSION)" ;\ exit 0 ;\ fi ;\ echo -n "+ increasing build number to " ;\