mirror of https://gitee.com/bigwinds/arangodb
special stunt for arangoimp
This commit is contained in:
parent
cd26187993
commit
526458756a
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue