#!/bin/bash SETTINGS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # exporting variables dot not effect to visibility for other scripts - all variables is visible export TMP_DIR=$SETTINGS_SCRIPT_DIR/tmp export THEME=demo