Skip to content

Commit 5c7b107

Browse files
authored
remove superfluous quotes (#23)
* remove superfluous quotes it should just be an empty string, not a string with quotes in it * Fix newlines * Remove quotes from CKAN dependency list All this quoting is making my head spin
1 parent 627c7bd commit 5c7b107

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

KSPCommon.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<PropertyGroup>
3232
<_TempStagingFolder>$([System.IO.Path]::Combine($([System.IO.Path]::GetTempPath()), $([System.IO.Path]::GetRandomFileName())))</_TempStagingFolder>
3333
<_CKANCommandFile>$(_TempStagingFolder)/ckan_commands.txt</_CKANCommandFile>
34-
<_CKANDependencyList>"@(_CKANDependency, ' ')"</_CKANDependencyList>
34+
<_CKANDependencyList>@(_CKANDependency, ' ')</_CKANDependencyList>
3535
</PropertyGroup>
3636

3737
<ItemGroup>
@@ -43,10 +43,10 @@
4343
</ItemGroup>
4444

4545
<Message Text="Writing CKAN commands to $(_CKANCommandFile)"/>
46-
<Message Text="@(_CKANCommands, '\n')" Importance="Low"/>
46+
<Message Text="@(_CKANCommands, '%0a')" Importance="Low"/>
4747
<WriteLinesToFile File="$(_CKANCommandFile)" Lines="@(_CKANCommands)"/>
4848
<Exec Command="cat '$(_CKANCommandFile)' | ckan prompt --headless"
49-
Condition="'$(_CKANDependencyList)' != '&quot;&quot;'"/>
49+
Condition="'$(_CKANDependencyList)' != ''"/>
5050
<RemoveDir Directories="$(_TempStagingFolder)"/>
5151
</Target>
5252

0 commit comments

Comments
 (0)