我将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