mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-30 10:59:25 +00:00
16 lines
404 B
Bash
Executable File
16 lines
404 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o pipefail
|
|
set -o errexit
|
|
set -o nounset
|
|
# set -o xtrace
|
|
|
|
# Set magic variables for current FILE & DIR
|
|
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
__file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
|
|
__base="$(basename ${__file} .sh)"
|
|
__root="$(cd "$(dirname $(dirname $(dirname "${__dir}")))" && pwd)"
|
|
|
|
echo "ACCPTST:STDIO_REPLACE_DATETIMES"
|
|
|
|
bash "${__root}/main.sh" -h
|