$(MODDIR)/make/defs.mk: Replace variable OS with OS_NAME_VERSION

OS_NAME_VERSION is less ambiguous.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-02-27 10:22:27 +00:00
commit b37359a725
4 changed files with 11 additions and 11 deletions

View file

@ -17,8 +17,8 @@
#FTP_HOST ?= pkg.janware.com
#FTP_HOST_LOGIN ?= root
#
#OS_NAME = $(shell echo $(OS) | sed 's/-.*//')
#OS_VERSION = $(shell echo $(OS) | sed 's/[^-]\+-//')
#OS_NAME = $(shell echo $(OS_NAME_VERSION) | sed 's/-.*//')
#OS_VERSION = $(shell echo $(OS_NAME_VERSION) | sed 's/[^-]\+-//')
#
## $(FTP_PCKG_DIR)/linux/$(OS_NAME)/$(OS_VERSION)/rpm/src
#FTP_PCKG_DIR ?= /pub/packages