我用这样的OSX调用Pkg建筑指令:
NAME="Product"
IDENTIFIER="com.${NAME}Package"
pkgbuild --identifier "${IDENTIFIER}" --root "${CONTENTROOT}" "Installer.pkg"
When I echo Identifier
I get com.ProductPackage
as you would expect.
When I run pkgbuild like that, extract the resulting .pkg file and look into the file PackageInfo
it says something like:
出于某些原因,除标识符以外的所有其他参数都被正确替换。
这里出了什么问题,我该怎么解决?