summaryrefslogtreecommitdiff
path: root/cpp/makebindist.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-xcpp/makebindist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py
index 3c633e5b087..a205eb4f9e4 100755
--- a/cpp/makebindist.py
+++ b/cpp/makebindist.py
@@ -356,14 +356,14 @@ endif
ifeq ($(ICE_HOME),)
ICE_DIR = /usr
ifneq ($(shell test -f $(ICE_DIR)/bin/icestormadmin && echo 0),0)
- NEXTDIR = /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR)
+ NEXTDIR = /opt/Ice-$(VERSION)
ifneq ($(shell test -f $(NEXTDIR)/bin/icestormadmin && echo 0),0)
$(error Unable to locate Ice distribution, please set ICE_HOME!)
else
ICE_DIR = $(NEXTDIR)
endif
else
- NEXTDIR = /opt/Ice-$(VERSION_MAJOR).$(VERSION_MINOR)
+ NEXTDIR = /opt/Ice-$(VERSION)
ifeq ($(shell test -f $(NEXTDIR)/bin/icestormadmin && echo 0),0)
$(warning Ice distribution found in /usr and $(NEXTDIR)! Installation in "/usr" will be used by default. Use ICE_HOME to specify alternate Ice installation.)
endif