Closed Inmovilizame closed 3 years ago
Ok!
Maybe another workaround could be made in the installing process of dotly, by installing gnu-sed (and maybe bash too).
# brew install bash
brew install gnu-sed
PD: I got it from the bash course :P
I tried your workaround in Ubuntu whitout any luck. Im getting the following error:
`🤔 Where do you want your dotfiles to be located? (default ~/.dotfiles2):
The path '/home/edu-ec/.dotfiles2' already exist Creating a backup in '/home/edu-ec/.dotfiles2.1604402061.back' Initializing your dotfiles git repository Cloning dotly Installing dotly dependencies Creating dotfiles structure sed: no se puede leer : No existe el archivo o el directorio `
In English: Cannot read: The file or directory does not exist
Any idea?
This should be fixed with #26 😊
Thanks for reporting!!
Due to different behaviours in
sed
for MacOS (BSD) and Linux (GNU) there is no way to make an in-place substitution that works on both OS families.The only way I've found to make it work on both specifications was to use this workaround:
I had to face this issue while making some common Makefile used on linux and macos.
PD: Is it ok to contribute? Might be an option to use the os detection that already being used in dotly to apply a proper sed in each case... I know is dirty, but the only solution available so far if using sed is mandatory :)
PD2: Super happy with my CodelyTV susbcription and working on my dotfiles!!