-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hi,
we needed to use dos2unix to be able to install and correctly use Twgit on OSX, in order to convert all files to LF instead of CRLF.
Problem encountered
Here all lines with command not found were in fact empty.
➜ twgit git:(stable) sudo make install
: command not found/makefile.sh: line 2:
: command not found/makefile.sh: line 8:
: command not found/makefile.sh: line 11:
: command not found/makefile.sh: line 17:
'Users/morgan/twgit/makefile.sh: line 31: syntax error near unexpected token `{
'Users/morgan/twgit/makefile.sh: line 31: `main() {
make: *** [install] Error 2Solution used
brew install dos2unix
git clone https://github.com/Twenga/twgit.git .
find . -type f -not -path './.git/*' -print0 | xargs -0 dos2unix
sudo make installEven if we only tweaked Makefile and makefile.sh, and installed twgit, we would have issues later when executing commands.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels