summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Utilities/Release/CMake.nsi.in2
-rw-r--r--Utilities/Release/MakeRelease.cmake.in12
2 files changed, 7 insertions, 7 deletions
diff --git a/Utilities/Release/CMake.nsi.in b/Utilities/Release/CMake.nsi.in
index ea5b1d7..ad7a1f7 100644
--- a/Utilities/Release/CMake.nsi.in
+++ b/Utilities/Release/CMake.nsi.in
@@ -303,7 +303,7 @@ FunctionEnd
;--------------------------------
; Define some macro setting for the gui
- !define MUI_HEADERIMAGE_BITMAP @PROJECT_SOURCE_DIR@\Utilities\Release\@PROJECT_NAME@Install.bmp
+ !define MUI_HEADERIMAGE_BITMAP "@PROJECT_SOURCE_DIR@\Utilities\Release\@PROJECT_NAME@Install.bmp"
;--------------------------------
;Pages
diff --git a/Utilities/Release/MakeRelease.cmake.in b/Utilities/Release/MakeRelease.cmake.in
index fbfaef9..d201c13 100644
--- a/Utilities/Release/MakeRelease.cmake.in
+++ b/Utilities/Release/MakeRelease.cmake.in
@@ -18,15 +18,15 @@ SET (CVSROOT ":pserver:anoncvs@www.cmake.org:/cvsroot/CMake")
#########################################################################
IF (COMMIT_UNIX_SCRIPT)
# first copy the file
- EXEC_PROGRAM(${CMAKE_COMMAND} "@PROJECT_SOURCE_DIR@"
+ EXEC_PROGRAM("@CMAKE_COMMAND@" "@PROJECT_SOURCE_DIR@"
ARGS -E copy
- "@PROJECT_BINARY_DIR@/Utilities/Release/cmake_release.sh"
- "@PROJECT_SOURCE_DIR@/Utilities/Release"
+ "\"@PROJECT_BINARY_DIR@/Utilities/Release/cmake_release.sh\""
+ "\"@PROJECT_SOURCE_DIR@/Utilities/Release\""
)
# then commit it
EXEC_PROGRAM(cvs "@PROJECT_SOURCE_DIR@"
- ARGS commit -m \"ENH: update revision numbers\"
- "@PROJECT_SOURCE_DIR@/Utilities/Release/cmake_release.sh"
+ ARGS commit -m "\"ENH: update revision numbers\""
+ "\"@PROJECT_SOURCE_DIR@/Utilities/Release/cmake_release.sh\""
)
ENDIF (COMMIT_UNIX_SCRIPT)
@@ -35,7 +35,7 @@ ENDIF (COMMIT_UNIX_SCRIPT)
#########################################################################
IF (BUILD_NSIW)
EXEC_PROGRAM("@NSIS_MAKENSIS@"
- ARGS "@PROJECT_BINARY_DIR@/Utilities/Release/@PROJECT_NAME@.nsi"
+ ARGS "\"@PROJECT_BINARY_DIR@/Utilities/Release/@PROJECT_NAME@.nsi\""
)
# copy the NSI to the FTP site
EXEC_PROGRAM(scp