diff options
Diffstat (limited to 'redhat/Makefile.r14')
-rw-r--r-- | redhat/Makefile.r14 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14 index 49e769162..9c92723fc 100644 --- a/redhat/Makefile.r14 +++ b/redhat/Makefile.r14 @@ -1,12 +1,12 @@ SHELL := /bin/bash -PACKAGING_DIR := $(shell cd ..; pwd) PATH := $(PATH):$(shell pwd)/build -TDE_VERSION := 14.0.5 +TDE_VERSION := $(shell echo $${TDE_VERSION:-14.0.5}) +TDE_PACKAGING_DIR := $(shell [ -n "$${TDE_PACKAGING_DIR}" ] && cd "$${TDE_PACKAGING_DIR}" || cd ..; pwd) DIST := $(shell rpm -E %dist) buildpkg = \ - @echo "Now processing '$(1)' [from $(PACKAGING_DIR)]."; \ - export PACKAGING_DIR=$(PACKAGING_DIR); \ + @echo "Now processing '$(1)' [from $(TDE_PACKAGING_DIR)]."; \ + export TDE_PACKAGING_DIR=$(TDE_PACKAGING_DIR); \ if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_installed.sh "$(1)" ${TDE_VERSION}; then \ echo " Package '${1}' is not yet installed."; \ if [ "${REBUILD}" = "$(1)" ] || ! is_latest_package_built.sh "$(1)" ${TDE_VERSION}; then \ |