aheckmann / m

mongodb version management
MIT License
267 stars 55 forks source link

Syntax error: "|" unexpected #5

Closed kchodorow closed 12 years ago

kchodorow commented 12 years ago

Just installed it and tried running:

$ sudo make install 
cp bin/m /usr/local/bin/m
$ sudo m
/usr/local/bin/m: 2: Syntax error: "|" unexpected
aheckmann commented 12 years ago

does it work without sudo?

kchodorow commented 12 years ago

No, I get:

$ m
mkdir: cannot create directory `/usr/local/m': Permission denied
Error: Failed to create versions directory (/usr/local/m/versions), do you have permissions to do this?
aheckmann commented 12 years ago

thanks, what platform are you on?

kchodorow commented 12 years ago

Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux, not sure what version of ubuntu.

aheckmann commented 12 years ago

thanks, i can reproduce. testing a fix now.

On Wed, Aug 29, 2012 at 12:08 PM, Kristina notifications@github.com wrote:

Linux ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux, not sure what version of ubuntu.

— Reply to this email directly or view it on GitHubhttps://github.com/aheckmann/m/issues/5#issuecomment-8137287.

Aaron @aaronheckmann https://twitter.com/#!/aaronheckmann

kchodorow commented 12 years ago

Awesome, thanks.

aheckmann commented 12 years ago

fixed in 0.0.3

kchodorow commented 12 years ago

Works, thank you!