Skip to content

Commit

Permalink
Fix make dist target
Browse files Browse the repository at this point in the history
It creates unusable archive, because of quotes on the wrong place. Let
CMake handle it expected way.
  • Loading branch information
pemensik committed Oct 11, 2020
1 parent e3ed011 commit 59da056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_archive.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set(ARCHIVE_NAME "${ARCHIVE_PREFIX}${ARCHIVE_SUFFIX}")

message(STATUS "Making archive ${ARCHIVE_NAME}")
execute_process(
COMMAND ${GIT} archive --prefix="${ARCHIVE_NAME}/" HEAD
COMMAND ${GIT} archive "--prefix=${ARCHIVE_NAME}/" HEAD
OUTPUT_FILE "${OUTPUT_DIR}/${ARCHIVE_NAME}.tar"
WORKING_DIRECTORY ${SOURCE_DIR}
)
Expand Down

0 comments on commit 59da056

Please sign in to comment.