Skip to content

Commit

Permalink
(README) add prohibited words
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Dec 4, 2023
1 parent 5c6525a commit 0e62999
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,16 @@ It is preferred to include these `-now` dependencies in `install.yaml`. Only use

### Writing `install.bash`

The use of the following variables is prohibited in `install.bash`:
- `install_file`
- `now`
- `old_deps`
- `parent_target`
- `state_file`
- `state_file_now`
- `target`
- `target_processed`

#### Generic `tue-install` functions

The following functions provided with `tue-env` must be preferred over any
Expand Down
2 changes: 1 addition & 1 deletion installer/tue-install-impl.bash
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function tue-install-target
else
tue-install-debug "Sourcing $install_file.bash"
# shellcheck disable=SC1090
(source "${install_file}".bash)
source "${install_file}".bash
tue-install-debug "Done: Sourcing $install_file.bash"
fi
target_processed=true
Expand Down

0 comments on commit 0e62999

Please sign in to comment.