【发布时间】:2017-01-13 09:26:35
【问题描述】:
我收到带引号的字符串路径的 tis 错误 我有像 PATH_VAR 这样的路径变量,我想要输出 C:/test/tools 所以下面是配方
PATH_VAR = "C:/test/tools/compiler_name.exe"
.PHONY : TEST
TEST:
echo $(dir $(PATH_VAR))
但我收到如下错误
echo "C:/test/tools/
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [TEST] Error 1
【问题讨论】: