summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/SignJar.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/SignJar.cmake b/cmake/SignJar.cmake
index 5fce245a..3b0d0c86 100644
--- a/cmake/SignJar.cmake
+++ b/cmake/SignJar.cmake
@@ -22,7 +22,7 @@ execute_process(COMMAND
${JARSIGNER} -keystore tigervnc.keystore
-storepass tigervnc -keypass tigervnc ${JAR_FILE} TigerVNC
RESULT_VARIABLE RESULT OUTPUT_VARIABLE OUTPUT ERROR_VARIABLE ERROR)
-if(NOT RESULT_VARIABLE EQUAL 0)
+if(NOT RESULT EQUAL 0)
message(FATAL_ERROR "${JARSIGNER} failed:\n${ERROR}")
endif()
file(REMOVE tigervnc.keystore)