diff --git a/macosx/build.sh b/macosx/build.sh index 100c308a4..b043da9f1 100755 --- a/macosx/build.sh +++ b/macosx/build.sh @@ -122,7 +122,7 @@ if which -s pkgbuild; then mkdir -p Resources/en.lproj cp -p copying.rtf Resources/en.lproj/License cp -p readme.rtf Resources/en.lproj/Readme - pkgbuild --root "$PREFIX" --identifier $PKGID $PKGID + pkgbuild --root "$PREFIX" --version "${PACKAGE_VERSION}" --identifier $PKGID $PKGID productbuild --distribution Distribution \ --resources Resources \ --package-path . \