Fix if statement, Ansible variable was True
rather than true
.
This commit is contained in:
parent
af13e2c3a4
commit
2c19c63a09
@ -597,7 +597,7 @@
|
||||
alias freeze="kill-system"
|
||||
alias system-killer="kill-system"
|
||||
function_update_sdks: |
|
||||
if [[ "{{ coding }}" == "true" ]]; then
|
||||
if [[ "$coding" == "true" ]]; then
|
||||
function update-sdks {
|
||||
echo -e "******* Update SDKs *******\n*** Android ***"
|
||||
yes | sdkmanager --update
|
||||
@ -618,6 +618,11 @@
|
||||
rc_common: |
|
||||
# Fixes "command not found" when using aliases within functions.
|
||||
shopt -s expand_aliases
|
||||
|
||||
# Variables for conditionals
|
||||
typeset -l coding
|
||||
export coding="{{ coding }}"
|
||||
|
||||
{{ export_path_additions }}
|
||||
{{ alias_cp }}
|
||||
{{ alias_mv }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user