Skip to content

Commit 2ec7cb1

Browse files
committed
Fixed support of PRODUCT_NAME with spaces
1 parent 0ceea9c commit 2ec7cb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsis/postgresql.nsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Section $(componentServer) sec1
432432
StrCpy $Chcp_text ""
433433
${Endif}
434434
435-
${if} ${PRODUCT_NAME} == "PostgreSQL"
435+
${if} "${PRODUCT_NAME}" == "PostgreSQL"
436436
StrCpy $Chcp_text ""
437437
438438
DetailPrint "Language settings:"
@@ -1006,7 +1006,7 @@ Function createRunPsql
10061006
StrCpy $Chcp_text ""
10071007
${Endif}
10081008

1009-
${if} ${PRODUCT_NAME} == "PostgreSQL"
1009+
${if} "${PRODUCT_NAME}" == "PostgreSQL"
10101010
StrCpy $Chcp_text ""
10111011

10121012
DetailPrint "Language settings:"

0 commit comments

Comments
 (0)