1
0
Fork 0

special stunt for arangoimp

This commit is contained in:
Frank Celler 2019-01-17 21:26:32 +01:00
parent cd26187993
commit 526458756a
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
devel
-----
* fixed arangoimp script for MacOSX CLI Bundle
* added "peakMemoryUsage" in query results figures, showing the peak memory
usage of the executed query. In a cluster, the value the peak memory usage
of all shards, but it is not summed up across shards.

View File

@ -19,6 +19,11 @@ SCRIPTS=$( cd "${ROOTDIR}@CMAKE_INSTALL_PREFIX@" && ls -1 {"@CMAKE_INSTALL_BINDI
for script in $SCRIPTS; do
base=$(basename "$script")
conf=$base
if test $conf == "arangoimp"; then
conf=arangoimport
fi
if test $base == "arangodb"; then
cat > "${ROOTDIR}/$base.$$" <<-'EOF'
@ -52,7 +57,7 @@ EOF
echo "export ROOTDIR=\"${ROOTDIR}@CMAKE_INSTALL_PREFIX@\""
echo
echo "exec \"\${ROOTDIR}/$script\" -c \"${ARANGOD_CONF_DIR}/${base}.conf\" \$*"
echo "exec \"\${ROOTDIR}/$script\" -c \"${ARANGOD_CONF_DIR}${conf}.conf\" \$*"
) > "${ROOTDIR}/$base.$$"
fi