fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

Change shopt to cp in order to support all *NIX shells (In my case FreeBSD sh/csh) #168

Closed amontalban closed 1 year ago

amontalban commented 8 years ago

Hi,

I tried to use vagrant-cache in a FreeBSD guest but it was failing when warming up cache with guest machine data. FreeBSD uses sh/csh by default for all users so shopt is not available, therefore I changed that line to use cp and copy all files including dotfiles.

Hope this helps to support other *NIX shells besides bash, I have tested this commit in Ubuntu and FreeBSD and works ok.

Thanks!

fgrehm commented 1 year ago

Hey, sorry for the silence here but this project is looking for maintainers :sweat_smile:

As per https://github.com/fgrehm/vagrant-cachier/issues/193, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue :wave: