3 source="${BASH_SOURCE[0]}"
5 # resolve $SOURCE until the file is no longer a symlink
6 while [[ -h $source ]]; do
7 scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
8 source="$(readlink "$source")"
10 # if $source was a relative symlink, we need to resolve it relative to the path where the
11 # symlink file was located
12 [[ $source != /* ]] && source="$scriptroot/$source"
15 scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
16 "$scriptroot/build.sh" --subsetCategory mono $@