aheckmann / m

mongodb version management

Repository from Github https://github.comaheckmann/mRepository from Github https://github.comaheckmann/m

Syntax error: "|" unexpected

kchodorow opened this issue · comments

commented

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

does it work without sudo?

commented

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?

thanks, what platform are you on?

commented

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.

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//issues/5#issuecomment-8137287.

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

commented

Awesome, thanks.

fixed in 0.0.3

commented

Works, thank you!