Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
#37: added fix
Browse files Browse the repository at this point in the history
  • Loading branch information
commjoen committed Sep 10, 2018
1 parent bacb71d commit 3a3da8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Android/generic_items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

vars_files:
- default.config.yml

vars:
home_directory: "{{ lookup('env', 'HOME') }}"

tasks:

- name: install pip, if necessary
Expand Down
6 changes: 3 additions & 3 deletions Android/tasks/install-homebrew-items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
when: studio_installed.rc != 0

- name: add ANDROID_HOME
action: lineinfile dest={{ user_home.stdout }}/.bashrc line="{{ item }}"
action: lineinfile dest={{ home_directory }}/.bashrc line="{{ item }}"
with_items:
- 'export ANDROID_HOME={{ user_home.stdout }}/opt/{{ android_folder }}'
- 'export ANDROID_HOME={{ home_directory }}/Library/Android/sdk/'
- 'export ANDROID_TOOLS=$ANDROID_HOME/tools/'
- 'export ANDROID_PLATFORM_TOOLS=$ANDROID_HOME/platform-tools/'
- 'export PATH=$PATH:$ANDROID_TOOLS:$ANDROID_PLATFORM_TOOLS'
sudo: no
when: studio_installed.rc != 0

- name: check if JD-GUI is installed
command: "ls /Applications/JD-GUI.app"
register: jd_gui_installed
Expand Down

0 comments on commit 3a3da8d

Please sign in to comment.