Files
wild-cloud/env.sh

11 lines
346 B
Bash

#!/bin/bash
# Set the WC_ROOT environment variable to this script's directory.
# This variable is used consistently across the Wild Config scripts.
export WC_ROOT="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
# Add bin to path first so wild-config is available
export PATH="$WC_ROOT/bin:$PATH"
echo "Wild Cloud root ready."