diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-12-09 13:38:09 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-12-09 13:38:09 +0100 |
commit | 2fbb1e0e39fc150603ddc55d8e906df3f0f1f05a (patch) | |
tree | 4222ba2f3083a68a84a1dd54085e7fca4515fc5e /redhat/Makefile.r14 | |
parent | 82dac1415fe0846a8ddd614b6c901761234eb1db (diff) | |
download | tde-packaging-2fbb1e0e39fc150603ddc55d8e906df3f0f1f05a.tar.gz tde-packaging-2fbb1e0e39fc150603ddc55d8e906df3f0f1f05a.zip |
RPM: update build scripts
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 \ |