summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2010-08-19 17:11:31 +0500
committerAlexey Botchkov <holyfoot@mysql.com>2010-08-19 17:11:31 +0500
commite1d285d1e019ac8920beb7a1a1f7e7e4c4046af7 (patch)
treea3f1470af565d3f422f23f34520a67cc9b91c152 /scripts
parente4da0b0af68f1efc966cd8e8cfb06834e44b09dd (diff)
downloadmariadb-git-e1d285d1e019ac8920beb7a1a1f7e7e4c4046af7.tar.gz
Bug#54129 Missing the execute bit for scripts
files for cmake had some minor bugs causing this. per-file comments: mysql-test/CMakeLists.txt Bug#54129 Missing the execute bit for scripts use same permissions as in the source folder mysql-test/t/disabled.def Bug#54129 Missing the execute bit for scripts mysqlhotcopy tests enabled scripts/CMakeLists.txt Bug#54129 Missing the execute bit for scripts chmod +x for the script files
Diffstat (limited to 'scripts')
-rw-r--r--scripts/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index c7eafac2781..4fc5f3f9b0d 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -344,6 +344,7 @@ ELSE()
MESSAGE(FATAL_ERROR "Can not find ${file}.sh or ${file} in "
"${CMAKE_CURRENT_SOURCE_DIR}" )
ENDIF()
+ EXECUTE_PROCESS(COMMAND chmod +x ${CMAKE_CURRENT_BINARY_DIR}/${file})
IF(NOT ${file}_COMPONENT)
SET(${file}_COMPONENT Server)
ENDIF()