Created
July 7, 2025 21:13
-
-
Save nelsontkq/b3f38c1282fef34ffd11355686119f1d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/packages/d/dotnet-8/package.yml b/packages/d/dotnet-8/package.yml | |
| index 5c863eba20..1400d4866d 100644 | |
| --- a/packages/d/dotnet-8/package.yml | |
| +++ b/packages/d/dotnet-8/package.yml | |
| @@ -68,15 +68,16 @@ build : | | |
| /p:ContinueOnPrebuiltBaselineError=true | |
| install : | | |
| # Create dotnet directory structure | |
| - install -dm00755 $installdir/usr/lib64/dotnet | |
| - | |
| + install -dm 755 $installdir/usr/lib64/dotnet | |
| + | |
| # Extract and install SDK | |
| - tar xf artifacts/x64/Release/dotnet-sdk-*.tar.gz \ | |
| - -C $installdir/usr/lib64/dotnet/ \ | |
| - --no-same-owner host metadata packs sdk sdk-manifests shared templates | |
| - | |
| + bsdtar xf artifacts/x64/Release/dotnet-sdk-*.tar.gz \ | |
| + --no-same-owner -C $installdir/usr/lib64/dotnet/ \ | |
| + host metadata packs sdk sdk-manifests shared templates | |
| + | |
| + rm -r $installdir/usr/lib64/dotnet/packs/NETStandard.Library.Ref | |
| # Fix permissions | |
| - for file_pattern in 'apphost' 'singlefilehost' 'lib*so'; do | |
| + for file_pattern in 'apphost' 'createdump' 'singlefilehost' 'lib*so'; do | |
| find $installdir/usr/lib64/dotnet/ -type f -name "$file_pattern" -exec chmod +x {} \; | |
| done | |
| for file_pattern in '*.a' '*.dll' '*.json' '*.pdb' '*.props' '*.pubxml' '*.targets' '*.txt' '*.xml'; do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment