projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kbuild: use $(abspath ...) instead of $(shell cd ... && /bin/pwd)
[linux-2.6-block.git]
/
tools
/
power
/
cpupower
/
Makefile
diff --git
a/tools/power/cpupower/Makefile
b/tools/power/cpupower/Makefile
index d6e1c02ddcfead4532cdc73f2d81207f62a8db5f..4c5a481a850c6d4490db28ae0d6448197e4b4517 100644
(file)
--- a/
tools/power/cpupower/Makefile
+++ b/
tools/power/cpupower/Makefile
@@
-26,7
+26,7
@@
endif
ifneq ($(OUTPUT),)
# check that the output directory actually exists
-OUTDIR := $(
shell cd $(OUTPUT) && /bin/pwd
)
+OUTDIR := $(
realpath $(OUTPUT)
)
$(if $(OUTDIR),, $(error output directory "$(OUTPUT)" does not exist))
endif