Skip to content

Commit

Permalink
Updated ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Feb 19, 2022
1 parent 66c6886 commit 59b9f1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dots
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ if [[ -d /opt/dots-git ]]; then
ROOT=/opt/dots-git
fi

if [[ -d /opt/dots-stable ]]; then
ROOT=/opt/dots-stable
fi

source "${ROOT}"/util/opts/opts.sh || exit

# override OS with a correct value with the given params
Expand Down
4 changes: 4 additions & 0 deletions dots-scripts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [[ -d /opt/dots-git ]]; then
ROOT=/opt/dots-git
fi

if [[ -d /opt/dots-stable ]]; then
ROOT=/opt/dots-stable
fi

show_message_with_usage() {
[[ -z "$documentation" ]] && parse_documentation
echo "$documentation"
Expand Down

0 comments on commit 59b9f1d

Please sign in to comment.