File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,24 +75,25 @@ if ($runtimeFiles.Count -ne 2) {
7575 throw " minimal runtime contains unexpected files"
7676}
7777
78- [IO.File ]::WriteAllText($configPath , @"
79- [options]
80- Architecture = x86_64
81- SigLevel = Never
82- CheckSpace
83- "@ )
84-
85- [IO.File ]::WriteAllText((Join-Path $packageRoot " .PKGINFO" ), @"
86- pkgname = vitasdk-msys-probe
87- pkgbase = vitasdk-msys-probe
88- pkgver = 1.0-1
89- pkgdesc = VitaSDK MSYS runtime smoke package
90- builddate = 0
91- packager = VitaSDK CI
92- size = 6
93- arch = x86_64
94- license = MIT
95- "@ )
78+ [IO.File ]::WriteAllText($configPath , (@ (
79+ " [options]" ,
80+ " Architecture = x86_64" ,
81+ " SigLevel = Never" ,
82+ " CheckSpace"
83+ ) -join " `n " ) + " `n " )
84+
85+ # Pacman package metadata is a Unix text format. Force LF even on Windows.
86+ [IO.File ]::WriteAllText((Join-Path $packageRoot " .PKGINFO" ), (@ (
87+ " pkgname = vitasdk-msys-probe" ,
88+ " pkgbase = vitasdk-msys-probe" ,
89+ " pkgver = 1.0-1" ,
90+ " pkgdesc = VitaSDK MSYS runtime smoke package" ,
91+ " builddate = 0" ,
92+ " packager = VitaSDK CI" ,
93+ " size = 6" ,
94+ " arch = x86_64" ,
95+ " license = MIT"
96+ ) -join " `n " ) + " `n " )
9697[IO.File ]::WriteAllText(
9798 (Join-Path $packageRoot " arm-vita-eabi/include/msys-probe.h" ),
9899 " probe`n "
You can’t perform that action at this time.
0 commit comments