Skip to content

Commit

Permalink
Run the script without relying on its executable bit being set.
Browse files Browse the repository at this point in the history
Addresses #2 .
Workaround for haskell/tar#25 .
  • Loading branch information
kenta2 committed Apr 18, 2018
1 parent ae28adc commit 0c8ea7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocksdb-5.8/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ string(REGEX REPLACE "[^0-9a-f]+" "" GIT_SHA "${GIT_SHA}")

if(NOT WIN32)
execute_process(COMMAND
"./build_tools/version.sh" "full"
"sh" "build_tools/version.sh" "full"
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE ROCKSDB_VERSION
)
string(STRIP "${ROCKSDB_VERSION}" ROCKSDB_VERSION)
execute_process(COMMAND
"./build_tools/version.sh" "major"
"sh" "build_tools/version.sh" "major"
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE ROCKSDB_VERSION_MAJOR
)
Expand Down

0 comments on commit 0c8ea7f

Please sign in to comment.