Skip to content

Commit

Permalink
Set the TERMUX_ANDROID10=1 environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Mar 24, 2020
1 parent 3bf8cbf commit 74d0e5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/debug_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Setup java
uses: actions/setup-java@v1
with:
java-version: 9
java-version: 11
- name: Build
run: |
./gradlew assembleDebug
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/termux/app/BackgroundJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ static String[] buildEnvironment(boolean failSafe, String cwd) {

List<String> environment = new ArrayList<>();

environment.add("TERMUX_ANDROID10=1");
environment.add("TERM=xterm-256color");
environment.add("HOME=" + TermuxService.HOME_PATH);
environment.add("PREFIX=" + TermuxService.PREFIX_PATH);
Expand Down

0 comments on commit 74d0e5d

Please sign in to comment.