Skip to content

Commit 7763559

Browse files
author
Tim Vaillancourt
committed
var rename
1 parent 8179402 commit 7763559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
PREFIX?=/usr/local
44
BASEDIR=$(DESTDIR)$(PREFIX)
55
BINDIR=$(BASEDIR)/bin
6-
RPM_VERSION=$(shell cat VERSION)
6+
VERSION=$(shell cat VERSION)
77

88
all: bin/mongodb-consistent-backup
99

@@ -23,7 +23,7 @@ rpm:
2323
cp -dpR MongoBackup conf Makefile setup.py scripts requirements.txt LICENSE README.md VERSION rpmbuild/SOURCES/mongodb_consistent_backup
2424
cp -dp scripts/mongodb_consistent_backup.spec rpmbuild/SPECS/mongodb_consistent_backup.spec
2525
tar --remove-files -C rpmbuild/SOURCES -czf rpmbuild/SOURCES/mongodb_consistent_backup.tar.gz mongodb_consistent_backup
26-
rpmbuild -D "_topdir $(PWD)/rpmbuild" -D "version $(RPM_VERSION)" -bb rpmbuild/SPECS/mongodb_consistent_backup.spec
26+
rpmbuild -D "_topdir $(PWD)/rpmbuild" -D "version $(VERSION)" -bb rpmbuild/SPECS/mongodb_consistent_backup.spec
2727

2828
clean:
2929
rm -rf bin build rpmbuild

0 commit comments

Comments
 (0)