file
This commit is contained in:
parent
1cad82456e
commit
88f3ab499d
4 changed files with 39 additions and 24 deletions
|
@ -1,5 +1,9 @@
|
|||
#! /usr/bin/env sh
|
||||
|
||||
# ╭──────╮
|
||||
# │ main │
|
||||
# ╰──────╯
|
||||
|
||||
# ╭──────┬───────────╮
|
||||
# │ main │ constants │
|
||||
# ╰──────┴───────────╯
|
||||
|
@ -127,12 +131,12 @@ rwx_source() {
|
|||
|
||||
# run initial steps
|
||||
rwx_main() {
|
||||
# system root
|
||||
# source system root
|
||||
if ! rwx_source "${RWX_ROOT_SYSTEM}"; then
|
||||
__rwx_log "Not a directory: ${RWX_ROOT_SYSTEM}"
|
||||
return 1
|
||||
fi
|
||||
# user root
|
||||
# source user root
|
||||
rwx_source "${RWX_SELF_USER}"
|
||||
# context / command
|
||||
if [ -n "${RWX_COMMAND_NAME}" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue