2020-11-13 03:18:11 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -Eeuo pipefail
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
source "$DIR/../util.sh"
|
|
|
|
|
|
|
|
TOOLCHAIN_BUILD_DEPS=(
|
|
|
|
pkg
|
|
|
|
)
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
TOOLCHAIN_RUN_DEPS=(
|
|
|
|
pkg
|
|
|
|
)
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
MEMGRAPH_BUILD_DEPS=(
|
|
|
|
pkg
|
|
|
|
)
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
list() {
|
|
|
|
echo "$1"
|
|
|
|
}
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
check() {
|
|
|
|
echo "TODO: Implement ${FUNCNAME[0]}."
|
|
|
|
exit 1
|
|
|
|
}
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
install() {
|
|
|
|
echo "TODO: Implement ${FUNCNAME[0]}."
|
|
|
|
exit 1
|
|
|
|
}
|
2021-03-30 18:08:51 +08:00
|
|
|
|
2020-11-13 03:18:11 +08:00
|
|
|
# http://ahmed.amayem.com/bash-indirect-expansion-exploration
|
|
|
|
deps=$2"[*]"
|
|
|
|
"$1" "${!deps}"
|