Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selfupdate 提示 uname: illegal option -- o #1

Closed
zhongl opened this issue Feb 22, 2013 · 1 comment
Closed

selfupdate 提示 uname: illegal option -- o #1

zhongl opened this issue Feb 22, 2013 · 1 comment
Assignees

Comments

@zhongl
Copy link

zhongl commented Feb 22, 2013

zhongl-RMBP:stompize zhongl$ jenv version
Java enVironment Manager 0.0.1
zhongl-RMBP:stompize zhongl$ jenv selfupdate 

Updating jenv...
uname: illegal option -- o
usage: uname [-amnprsv]
Purge existing scripts...
Download new scripts to: /Users/zhongl/.jenv/tmp/jenv-0.0.1.zip
Extract script archive...


Successfully upgraded JENV.

VERY IMPORTANT!!!

JENV will stop working in the current shell when upgrading from 0.0.1 to 0.0.x

Please open a new terminal, or run the following in the existing one:

    source "/Users/zhongl/.jenv/bin/jenv-init.sh"


zhongl-RMBP:stompize zhongl$ uname -a
Darwin zhongl-RMBP.local 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64
zhongl-RMBP:stompize zhongl$ uname -h
uname: illegal option -- h
usage: uname [-amnprsv]

我用的是Mac OX S 10.8.2

@linux-china
Copy link
Owner

这个是一个bug。 "uname -o" 在mac下是没有的,我修复啦。 你重新执行一下jenv selfupdate,当然这个时候还会有这个错误,但是不影响更新,新的脚本覆盖后就没有这个问题啦。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants