mirror of https://gitee.com/bigwinds/arangodb
add the ArangoDBStarter to the packages
This commit is contained in:
parent
4567be8688
commit
c6d65ea0fa
|
@ -617,15 +617,15 @@ if test ${DOWNLOAD_STARTER} == 1; then
|
|||
curl -LO "${STARTER_URL}"
|
||||
FN=`echo ${STARTER_URL} |${SED} "s;.*/;;"`
|
||||
if test "${isCygwin}" == 1; then
|
||||
TN=ArangoDBStarter.exe
|
||||
TN=arangodb.exe
|
||||
else
|
||||
TN=ArangoDBStarter
|
||||
TN=arangodb
|
||||
fi
|
||||
mkdir -p ${BUILD_DIR}
|
||||
mv ${FN} ${BUILD_DIR}/${TN}
|
||||
chmod a+x ${BUILD_DIR}/${TN}
|
||||
fi
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DTHIRDPARTY_SBIN=${BUILD_DIR}/${TN} "
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DTHIRDPARTY_BIN=${BUILD_DIR}/${TN} "
|
||||
fi
|
||||
|
||||
test -d ${BUILD_DIR} || mkdir ${BUILD_DIR}
|
||||
|
|
|
@ -232,3 +232,8 @@ if (THIRDPARTY_SBIN)
|
|||
install(FILES ${THIRDPARTY_SBIN}
|
||||
DESTINATION "${CMAKE_INSTALL_SBINDIR}")
|
||||
endif()
|
||||
|
||||
if (THIRDPARTY_BIN)
|
||||
install(FILES ${THIRDPARTY_BIN}
|
||||
DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue