使用bash -c运行./autogen.sh失败

时间:2017-06-28 05:46:37

标签: mingw autoconf msys2 appveyor

我将autoconf项目从Linux移植到Windows,当我使用autogen.sh调用bash时,它在dirname $0上失败:

C:\msys64\usr\bin\bash.exe -c "./autogen.sh"
/usr/bin/dirname: missing operand
Try '/usr/bin/dirname --help' for more information.
Command exited with code 1

使用sh - https://ci.appveyor.com/project/techtonik/augeas/build/1.0.5进行构建失败 使用bash - https://ci.appveyor.com/project/techtonik/augeas/build/1.0.6进行构建失败 以下是源代码 - https://github.com/hercules-team/augeas/blob/master/autogen.sh

0 个答案:

没有答案