Makefiles: change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows
This commit is contained in:
parent
797b699c5e
commit
61ec1d7a1d
@ -34,7 +34,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
TOPDIR ?= ${shell pwd}/..
|
||||
TOPDIR ?= $(CURDIR)/..
|
||||
-include $(TOPDIR)/Make.defs
|
||||
include ${TOPDIR}/tools/Config.mk
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
TOPDIR := ${shell pwd | sed -e 's/ /\\ /g'}
|
||||
TOPDIR := ${shell echo $(CURDIR) | sed -e 's/ /\\ /g'}
|
||||
-include $(TOPDIR)/.config
|
||||
-include $(TOPDIR)/.version
|
||||
include $(TOPDIR)/tools/Config.mk
|
||||
|
@ -732,9 +732,9 @@ indent.sh
|
||||
(see below and the comments at the top of the indent.sh file).
|
||||
|
||||
USAGE:
|
||||
./indent.sh [-d] -o <out-file> <in-file>
|
||||
./indent.sh [-d] <in-file-list>
|
||||
./indent.sh [-d] -h
|
||||
tools/indent.sh [-d] -o <out-file> <in-file>
|
||||
tools/indent.sh [-d] <in-file-list>
|
||||
tools/indent.sh [-d] -h
|
||||
|
||||
Where:
|
||||
-<in-file>
|
||||
|
Loading…
Reference in New Issue
Block a user