defs.mk.in fix: SED was used before it was defined

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2015-05-31 10:20:26 +00:00
commit 017f811ed3

View file

@ -20,6 +20,11 @@ ifneq ($(wildcard pre-local.mk),)
include pre-local.mk
endif
# ----- executables
SED = sed
CAT = /bin/cat
SHELL = /bin/bash
# ----- standard variables
PROJECT ?= $(patsubst $(FLAVOUR_PREFIX)%,%,$(notdir $(shell cd $(TOPDIR); pwd | $(SED) 's/.*\///; s/-[0-9].*//')))
ifeq ($(PROJECT),ytools)
@ -50,11 +55,6 @@ ifeq ($(PKG_FORMAT),debian)
export INCLUDE_REV_IN_VERSIONS = true
endif
# ----- executables
SED = sed
CAT = /bin/cat
SHELL = /bin/bash
CVS_PROJ_DIR ?= $(TOPDIR)/..
CVSTOPDIR ?= $(CVS_PROJ_DIR)/..