Permalink
Browse files

fixed update-version for windows

  • Loading branch information...
1 parent 444d772 commit f6a1a99600c2c38d7909cfa1e1cfece44bf325c0 Tsung-Hsiang Chang committed May 26, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 sikuli-ide/CMakeLists.txt
  2. +1 −0 utils/update-version.py
@@ -132,7 +132,7 @@ message("Sikuli Version ${SIKULI_VERSION}")
SET(JYTHON_CLASS org.python.util.jython)
add_custom_target( update-version
- COMMAND ${JAVA_RUNTIME} -cp ${CLASSPATH} ${JYTHON_CLASS} ${BASE_DIR}/../utils/update-version.py ${JAVA_SRC_DIR}/org/sikuli/ide/IDESettings.java "${SIKULI_VERSION}"
+ COMMAND ${JAVA_RUNTIME} -cp "${CLASSPATH}" ${JYTHON_CLASS} ${BASE_DIR}/../utils/update-version.py ${JAVA_SRC_DIR}/org/sikuli/ide/IDESettings.java "${SIKULI_VERSION}"
COMMENT "Update version number in Sikuli-IDE"
)
View
@@ -12,4 +12,5 @@
output.close()
f.close()
+os.remove(file)
os.rename(file+".tmp", file)

0 comments on commit f6a1a99

Please sign in to comment.