Commit 4264234a authored by Thorkil Naur's avatar Thorkil Naur
Browse files

Avoid error message from some shells when cygpath does not exist

parent cc4f1a94
......@@ -13,7 +13,7 @@ show:
define canonicalise
# $1 = path variable
$1_CYGPATH := $$(shell cygpath -m $$($1) 2> /dev/null)
$1_CYGPATH := $$(shell sh -c "cygpath -m $$($1)" 2> /dev/null)
ifneq "$$($1_CYGPATH)" ""
$1 := $$($1_CYGPATH)
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment