danger / danger/kotlin

MacOS Catalina default shell change to zsh causing issue in Bitrise

Open
#243 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
542
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Following line in `install.sh` is not working on Bitrise:
`echo 'export PATH=/usr/local/kotlinc/bin:$PATH' >> ~/.bash_profile` which generate following error:
`/root/.bash_profile: No such file or directory`

I think the changing `.bash_profile` to `.zprofile` will fix the issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in install.sh at the command appending Kotlin's bin directory to ~/.bash_profile. Reproduce the installation in the Bitrise environment, check which shell startup file is available, and compare the resulting PATH. Done means the installer completes without the missing-file error and Kotlin is available on PATH.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, kotlin, zsh
Domain
ci-cd, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.