refactor setup

This commit is contained in:
Christien Rioux 2023-11-16 07:51:55 -05:00
parent bbde85a134
commit e8046e9a89
9 changed files with 96 additions and 42 deletions

View file

@ -1,13 +0,0 @@
set -eo pipefail
get_abs_filename() {
# $1 : relative filename
echo "$(cd "$(dirname "$1")" && pwd)/$(basename "$1")"
}
# Veilid location
VEILIDDIR=$(get_abs_filename "$SCRIPTDIR/../veilid")
if [ ! -d "$VEILIDDIR" ]; then
echo 'Veilid git clone needs to be at $VEILIDDIR'
exit 1
fi