Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify method to get base directory. (IDFGH-4926) #6718

Closed
wants to merge 1 commit into from

Conversation

blakjak44
Copy link
Contributor

Current method assumes that you are in the esp-idf directory when executing install. This method will get the correct path regardless of where you execute from.

Current method assumes that you are in the esp-idf directory when executing install. This method will get the correct path regardless of where you execute from.
@CLAassistant
Copy link

CLAassistant commented Mar 15, 2021

CLA assistant check
All committers have signed the CLA.

@espressif-bot espressif-bot added the Status: Opened Issue is new label Mar 15, 2021
@github-actions github-actions bot changed the title Modify method to get base directory. Modify method to get base directory. (IDFGH-4926) Mar 15, 2021
@Alvin1Zhang
Copy link
Collaborator

Thanks for your contribution.

@igrr
Copy link
Member

igrr commented Mar 15, 2021

Hi @blakjak44, will #6416 work for you to solve the issue? That PR is already in the merge queue, if it's okay for you we will merge it instead.

@blakjak44
Copy link
Contributor Author

blakjak44 commented Mar 17, 2021

Hi @igrr, personally, I think this method is better, as #6416 adds a period into the generated path. But as long as #6416 works then it's fine by me.

set basedir "$PWD/"(dirname (status -f)) = /Users/<user>/./espressif/esp-idf
set basedir (dirname (realpath (status -f))) = /Users/<user>/espressif/esp-idf

espressif-bot pushed a commit that referenced this pull request Apr 15, 2021
Current method assumes that you are in the esp-idf directory when executing install. This method will get the correct path regardless of where you execute from.

Merges #6718
@igrr
Copy link
Member

igrr commented Apr 15, 2021

Thank you for the PR @blakjak44, it was cherry-picked as f5f0648!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants