summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorBernard Spil <Sp1l@users.noreply.github.com>2016-02-27 20:08:59 +0100
committerSergei Golubchik <serg@mariadb.org>2016-03-21 11:43:19 +0100
commitee687771eedd2dd63d6fa094360f88a2b83f2db9 (patch)
tree5ff151ec37f9b76188669f7c62a694e444f1d931 /storage
parente69c6e81a89c4b284cc9c34af66403a1153cd492 (diff)
downloadmariadb-git-ee687771eedd2dd63d6fa094360f88a2b83f2db9.tar.gz
Use /bin/sh
Remove Linuxism. Works fine with a POSIX-compat shell
Diffstat (limited to 'storage')
-rw-r--r--storage/tokudb/PerconaFT/buildheader/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/tokudb/PerconaFT/buildheader/CMakeLists.txt b/storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
index 5da3c98ff48..6d5cbb94358 100644
--- a/storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
+++ b/storage/tokudb/PerconaFT/buildheader/CMakeLists.txt
@@ -1,6 +1,6 @@
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "")
-file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/bash
+file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/runcat.sh" "#!/bin/sh
out=$1; shift
exec \"$@\" >$out")
@@ -8,7 +8,7 @@ add_executable(make_tdb make_tdb.cc)
set_property(TARGET make_tdb APPEND PROPERTY COMPILE_DEFINITIONS _GNU_SOURCE)
add_custom_command(
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/db.h"
- COMMAND bash runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb>
+ COMMAND sh runcat.sh "${CMAKE_CURRENT_BINARY_DIR}/db.h" $<TARGET_FILE:make_tdb>
DEPENDS make_tdb)
add_custom_target(install_tdb_h DEPENDS
"${CMAKE_CURRENT_BINARY_DIR}/db.h")