encfs/build.sh

16 lines
182 B
Bash
Raw Normal View History

#!/bin/bash -eu
# Make sure we are in the directory this script is in.
cd "$(dirname "$0")"
if [[ ! -d build ]]
then
mkdir build
cd build
cmake ..
cd ..
fi
make -j2 -C build