[bug]Makefile中使用了bash内置[[导致在/bin/sh指向dash时报错 #57
Labels
bug
Something isn't working
confirmed
issue is confirmed
discussion
issue is under dicussion
enhancement
New feature or request
outer
issue comes from others
Milestone
问题描述
在构建执行make命令时报错
重现方法
在Ubuntu系统中(默认/bin/sh -> dash)执行构建make
关键信息
Makefile中使用了bash的内置[[,在dash中不支持,CentOS默认/bin/sh -> bash,但是Ubuntu(或者Debian)中/bin/sh -> dash,在Ubuntu中将/bin/sh -> bash则不报错,或者将
[[
改成[
也不报错。请提供以下信息:
Version :bf46118-19.06.27
Tag :bf46118
BuildTime: 2019-06-27T02:02:40+0000
GitHash: bf46118
Ubuntu 18.04.2 LTS
无
The text was updated successfully, but these errors were encountered: