forked from haiwan/sledge
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
303 B
11 lines
303 B
#!/bin/bash
|
|
|
|
HOST_ROOT=${HOST_ROOT:-$(cd "$(dirname "${BASH_SOURCE:-$0}")" && pwd)}
|
|
__run_sh__base_path="$(dirname "$(realpath --logical "${BASH_SOURCE[0]}")")"
|
|
SYS_SRC_PREFIX=${SYS_SRC_PREFIX:-"$(
|
|
cd "$(dirname "$(dirname "${0}")")" || exit 1
|
|
pwd -P
|
|
)"}
|
|
|
|
echo ${HOST_ROOT}
|
|
echo ${__run_sh__base_path} |