mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Copy user permissions to group and other in bin/*
Necessary for packages so that the libraries/deps files are readable, even when owned by root (because it was installed from a package).
This commit is contained in:
1 parent
56ed87c108
commit
c8891bb5a0
1 file changed
+3
@@ -23,3 +23,6 @@ popd
|
|||||||
|
|
||||||
# Publish PowerShell to bin, with LINUX defined through a configuration
|
# Publish PowerShell to bin, with LINUX defined through a configuration
|
||||||
dotnet publish --output "$BIN" --configuration Linux src/Microsoft.PowerShell.Linux.Host
|
dotnet publish --output "$BIN" --configuration Linux src/Microsoft.PowerShell.Linux.Host
|
||||||
|
|
||||||
|
# Fix permissions for packaging
|
||||||
|
chmod -R go=u "$BIN"
|
||||||
Reference in new issue
Block a user