summaryrefslogtreecommitdiffstats
path: root/fetch.sh
blob: 37601e339990cafdf6e1954f91f57ce556ca7293 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env bash

if [[ "$OSTYPE" == *darwin* ]]; then
  READLINK_CMD='greadlink'
else
  READLINK_CMD='readlink'
fi

dot="$(cd "$(dirname "$([ -L "$0" ] && $READLINK_CMD -f "$0" || echo "$0")")"; pwd)"

source $dot/radar-base.sh

fetch;