Comments (4)
The output that breaks us is stuff like:
Copying skeleton files.
These files are for the users to personalise their cygwin experience.
They will never be overwritten nor automatically updated.
'./.bashrc' -> '/home/appveyor//.bashrc'
'./.bash_profile' -> '/home/appveyor//.bash_profile'
'./.inputrc' -> '/home/appveyor//.inputrc'
'./.profile' -> '/home/appveyor//.profile'
from esy-bash.
Unfortunately, I couldn't repro this locally on my machine. Still looking into it.
from esy-bash.
Thanks for testing it out @prometheansacrifice !
I think the issue is that, if you don't have a .bashrc
/.bash_profile
etc already, the first run of bash will create - this breaks the output we expect! So it might not repro locally if you already have those in your home directory.
I think there are a couple things we need to do here:
- Explicitly set the home directory - we can set this in the
/etc/nsswitch.conf
. We can set the home directory by usingdb_home
. We could set it like:db_home: /usr/esy
. We could include this modified/etc/nsswitch.conf
in our bundle. - Seed the home directory with the requisite scripts - we could just run
bash.exe
prior to packing to get the.bashrc
/.bash_profile
/etc generated
Explicitly setting the db_home
here will help get the esy/cygwin isolated from another environment the user may have.
This solution would also address #15
from esy-bash.
Fixed by #35 - thank you @prometheansacrifice ! 💯
from esy-bash.
Related Issues (20)
- Investigate even more silent installation HOT 1
- Create zip / repo of packages HOT 2
- Clean up temporary files
- Ignore user's `.bash_profile` HOT 1
- Convert to native reason executable HOT 7
- Native EsyBash: Enable remaining tests HOT 1
- Native EsyBash: 'ls' command doesn't work HOT 6
- Run tests against installed package HOT 3
- Performance: 'asyncify' postinstall tasks
- Reduce verbosity of logging of postinstall tasks
- Investigate using gow instead of cygwin HOT 1
- Bug: 'cd: too many arguments' if path has spaces
- Can't install esy on github action HOT 2
- New release? HOT 1
- MinGW gcc vs gcc? HOT 3
- Occasional syntax errors in the temp sh file
- Why does Cygwin touch Windows registry?
- Try esy-bash as an optional dependency in esy
- Way around path translations and /cygdrive mounting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esy-bash.