diff -ru ParaView-3.98.0-src/Plugins/pvblot/CMakeLists.txt ParaView/Plugins/pvblot/CMakeLists.txt
--- ParaView-3.98.0-src/Plugins/pvblot/CMakeLists.txt 2012-12-03 08:31:22.000000000 -0700
+++ ParaView/Plugins/pvblot/CMakeLists.txt 2012-12-14 16:11:24.109249505 -0700
@@ -69,18 +69,11 @@
GET_TARGET_PROPERTY(PVBLOT_PVPYTHON_EXECUTABLE pvpython LOCATION)
SET(PVBLOT_BLOTISH_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
-SET(script_extension)
+SET(script_ext)
IF(WIN32 AND NOT CYGWIN)
SET(script_ext ".bat")
ENDIF(WIN32 AND NOT CYGWIN)
-CONFIGURE_FILE(
- "${CMAKE_CURRENT_SOURCE_DIR}/pvblot${script_exe}.in"
- "${EXECUTABLE_OUTPUT_PATH}/pvblot${script_exe}"
- @ONLY
- )
-
-
#############################################################################
# Set up pvblot script for when ParaView is installed. This includes
# installing the Python source files.
@@ -94,8 +87,8 @@
CONFIGURE_FILE(
- "${CMAKE_CURRENT_SOURCE_DIR}/pvblot${script_exe}.in"
- "${ParaView_BINARY_DIR}/CMake/tmp/pvblot${script_exe}"
+ "${CMAKE_CURRENT_SOURCE_DIR}/pvblot${script_ext}.in"
+ "${ParaView_BINARY_DIR}/CMake/tmp/pvblot${script_ext}"
@ONLY
)