#!/usr/bin/env bash
set -euo pipefail

# DIR="$(cd "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"

BASEDIR=$(dirname "$0")
cd "${BASEDIR}"

. ./util/functions.sh

#for file in ${BASEPATH%/}/bin/$(get_uname)/*.sh
for file in "$(get_uname)"/*.sh; do
  if [ -f "${file}" ]; then
    echo "${file}"
    . "${file}"
  fi
done
