memgraph/init.sh

24 lines
429 B
Bash
Raw Normal View History

2016-11-19 00:35:29 +08:00
#!/bin/bash
if ! type "wget" > /dev/null; then
echo >&2 "Please install wget or set it in your path. Aborting."; exit 1;
fi
if ! type "git" > /dev/null; then
echo >&2 "Please install git or set it in your path. Aborting."; exit 1;
fi
if ! type "cmake" > /dev/null; then
echo >&2 "Please install cmake or set it in your path. Aborting."; exit 1;
fi
cd cmake
./setup.sh
cd ..
cd libs
./setup.sh
cd ..
echo "DONE"