提交 5db43663 编写于 作者: A Adam Lee 提交者: Adam Lee

Fix a shell issue of empty string

If the $(UBUNTU_PLATFORM) is an empty string, the test command will fail,
double quotes it to fix.

```
--- mock for platform
/bin/sh: line 0: [: =: unary operator expected
```
上级 34ae3d94
......@@ -148,7 +148,7 @@ pylint:
$(MOCK_BIN):
@echo "--- mock for platform $(UBUNTU_PLATFORM)"
@if [ $(UBUNTU_PLATFORM) = "Ubuntu" ]; then\
@if [ "$(UBUNTU_PLATFORM)" = "Ubuntu" ]; then\
pip install mock;\
else\
mkdir -p $(PYTHONSRC_INSTALL_SITE) && \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册