fix permissions for installed files.
This commit is contained in:
parent
bb3a629fbb
commit
7ae33f3154
1 changed files with 1 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
Loading…
Reference in a new issue