- 
                Notifications
    
You must be signed in to change notification settings  - Fork 110
 
Use $HOME instead of ~ in PATH env variable #367
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
base: master
Are you sure you want to change the base?
Conversation
7169fa0    to
    ca91064      
    Compare
  
    | 
           Hi @blanquicet, thank you for making a PR. We will look into this and get back to you!  | 
    
          
 Thanks @darrentu. I haven't marked it as ready because I'm still trying to understand how to fully test it and verify that after this PR I will be able to execute binaries within   | 
    
| 
           The test cases are passing: https://github.com/Azure/CloudShell/actions/runs/7062144530/job/19225319429.  | 
    
          
 Yep, but they are only testing that the   | 
    
ca91064    to
    b9c28cf      
    Compare
  
    Signed-off-by: Jose Blanquicet <josebl@microsoft.com>
b9c28cf    to
    2918057      
    Compare
  
    | 
           Hi @darrentu, I found the issue in my previous approach. I was adding the  Now the PR is ready.  | 
    
| 
           Hi @darrentu, friendly ping to have this PR merged 🙂. Thanks!  | 
    
Hi folks,
I was running some experiments with the InnovationEngine project, which leverage the CloudShell to execute the documentation, and I faced a problem with the the
PATHenv variable. In particular, I noticed some paths withinPATHare using~instead of$HOMEand some tools don't parse~thus they aren't able to execute the binaries located on those paths. An example of the tools impacted iskubectl. Here the issue reported upstream. The solution is to use$HOMEinstead of~, which shouldn't have any impact on tools already working with~. I tried in other online shells and systems I could try, and none of them are using~withinPATH.Thanks