fix permissions for installed files.

This commit is contained in:
glennc 2015-11-06 15:58:55 -08:00
parent bb3a629fbb
commit 7ae33f3154

View file

@ -36,10 +36,9 @@ PACKAGE_DIR=$REPOROOT/artifacts/packages/pkg
[ -d "$PACKAGE_DIR" ] || mkdir -p $PACKAGE_DIR [ -d "$PACKAGE_DIR" ] || mkdir -p $PACKAGE_DIR
PACKAGE_NAME=$PACKAGE_DIR/dotnet-cli-x64.${DOTNET_BUILD_VERSION}.pkg PACKAGE_NAME=$PACKAGE_DIR/dotnet-cli-x64.${DOTNET_BUILD_VERSION}.pkg
chmod -R 755 $STAGE2_DIR
pkgbuild --root $STAGE2_DIR \ pkgbuild --root $STAGE2_DIR \
--version $DOTNET_BUILD_VERSION \ --version $DOTNET_BUILD_VERSION \
--ownership preserve \
--scripts $DIR/scripts \ --scripts $DIR/scripts \
--identifier com.microsoft.dotnet.cli.pkg.dotnet-osx-x64 \ --identifier com.microsoft.dotnet.cli.pkg.dotnet-osx-x64 \
--install-location /usr/local/share/dotnet/cli \ --install-location /usr/local/share/dotnet/cli \