Re: lein script installation errors on CentOS 6.5

2014-01-13 Thread gvim
Resolved, thanks. Still puzzled as Red Hat's /bin/bash is 4.1.2 and my custom /sw/bin/bash is 4.2.24. Surely such a minor version difference should not result in such a catastrophe? gvim On 14/01/2014 01:31, Matching Socks wrote: Scripts in Red Hat ought to begin with #!/bin/bash which is wri

Re: lein script installation errors on CentOS 6.5

2014-01-13 Thread Matching Socks
Scripts in Red Hat ought to begin with #!/bin/bash which is writable only by root and kept updated by system updates. But lein uses #!/usr/bin/env bash -- "use whatever bash executable is on my path" -- which is less well controlled and might be different. Try "which bash" to see what shell is

lein script installation errors on CentOS 6.5

2014-01-13 Thread gvim
The lein script is producing errors when I try to install it on CentOS 6.5: $ lein /sw/bin/lein: command substitution: line 93: syntax error near unexpected token `)' /sw/bin/lein: command substitution: line 93: `dirname "$PWD")"' /sw/bin/lein: command substitution: line 110: syntax error near