|
|
@ -1,14 +1,8 @@ |
|
|
|
#!/bin/bash |
|
|
|
#!/bin/bash |
|
|
|
SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" |
|
|
|
readonly SCRIPT_NAME="$(basename ${BASH_SOURCE[0]})" |
|
|
|
pushd $(dirname ${BASH_SOURCE[0]}) > /dev/null |
|
|
|
readonly SCRIPT_DIR="$(dirname ${BASH_SOURCE[0]})" |
|
|
|
SCRIPT_DIR=$(pwd) |
|
|
|
readonly SOURCE_DIR="$(dirname "$(dirname "${SCRIPT_DIR}")")" |
|
|
|
pushd ../.. > /dev/null |
|
|
|
readonly FN_DIR="$(dirname "${SCRIPT_DIR}")/functions" |
|
|
|
SOURCE_DIR=$(pwd) |
|
|
|
|
|
|
|
popd > /dev/null |
|
|
|
|
|
|
|
pushd ../functions > /dev/null |
|
|
|
|
|
|
|
FN_DIR=$(pwd) |
|
|
|
|
|
|
|
popd > /dev/null |
|
|
|
|
|
|
|
popd > /dev/null |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
source "${SCRIPT_DIR}/functions.sh" |
|
|
|
source "${SCRIPT_DIR}/functions.sh" |
|
|
|
|
|
|
|
|
|
|
|