Skip to content

Commit

Permalink
Merge pull request #4 from kenta2/master
Browse files Browse the repository at this point in the history
Run the script without relying on its executable bit being set.
  • Loading branch information
TerrorJack authored Apr 18, 2018
2 parents ae28adc + 0c8ea7f commit 8788574
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 8788574

Please sign in to comment.