[FIX] Archi_Ubuntu.sh

Started by levait, March 11, 2015, 11:04:11 AM

Previous topic - Next topic

levait

Hi,

the Archi_Ubuntu.sh file in the current versions of Archi contains syntax errors, therefore, it is useless. I could not find this file under any VCS, so I uploaded the fixed one here. Please, merge this into the upstream version.

Tamás Lévai

Phil Beauvoir

Define "useless"

Define "syntax errors"

If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

levait

#2
Quote from: Phil Beauvoir on March 11, 2015, 11:05:37 AM
Define "useless"

Define "syntax errors"

lt@lapat:/tmp/Archi$ ./Archi-Ubuntu.sh
bash: ./Archi-Ubuntu.sh: /bin/bash^M: bad interpreter: No such file or directory


Of course, it did not started Archi, however, it was its purpose, therefore, it is useless/unusable.

System info: Ubuntu 14.04.2 with linux: 3.13.0-46-generic x86_64, and bash: version 4.3.11(1)-release


Phil Beauvoir

OK, I will replace this for the next version of Archi.

I'm sure it used to work, it was created by a Linux expert (not me).
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

levait

Ohh, I forgot to mention that the problem was the DOS-style line ending.

Phil Beauvoir

Yes, I see that.

I changed the line endings to Unix. I think because I build on a Win machine, git changes the line endings. I will look at it.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.