Skip to content

Commit

Permalink
Allow ct-ng to be run from non-repo directories
Browse files Browse the repository at this point in the history
closes #993

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
  • Loading branch information
grooverdan authored and stilor committed Nov 3, 2018
1 parent 673046c commit a98584c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct-ng.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export CT_TOP_DIR:=$(shell pwd)
ifeq (@enable_local@,yes)
# automake does not allow to set pkgxxxdir, they are always derived from
# a respective xxxdir. So, for enable-local case, set them directly here.
export CT_LIB_DIR:=$(shell cd "@srcdir@" && pwd)
export CT_LIB_DIR:=$(shell dirname $(CT_NG))
export CT_LIBEXEC_DIR:=$(CT_TOP_DIR)/kconfig
export CT_DOC_DIR:=$(CT_TOP_DIR)/docs
else
Expand Down

0 comments on commit a98584c

Please sign in to comment.