mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-17 20:14:31 -05:00
17 lines
387 B
Plaintext
17 lines
387 B
Plaintext
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
|
|
|
|
# VeilidChat location
|
|
VEILIDCHATDIR=$(get_abs_filename "$SCRIPTDIR/../../veilid")
|