Issue1588
Created on 2010-03-31.18:29:22 by rshaffer@vmware.com, last changed 2010-04-02.16:16:06 by nriley.
msg5611 (view) |
Author: Richard Shaffer (rshaffer@vmware.com) |
Date: 2010-03-31.18:29:21 |
|
In the Linux jython script (under src/shell/jython in SVN), line 32 uses this command:
if expr "$link" : '^/' > /dev/null; then
The '^' here is redundant, because expr implicitly matches from the beginning of the string. On some systems, like my RHEL 5.4 system, this produces a warning on the command line:
[rshaffer@rshaffer-dev1 ~]$ jython
expr: warning: unportable BRE: `^/': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
It doesn't hurt anything, but the warning is ugly, and it's easy to fix. Simply remove the '^' character from the regex.
-Richard
|
msg5620 (view) |
Author: Nicholas Riley (nriley) |
Date: 2010-04-02.16:16:05 |
|
Fixed in r6998. Thanks.
|
|
Date |
User |
Action |
Args |
2010-04-02 16:16:06 | nriley | set | status: open -> closed assignee: nriley resolution: fixed messages:
+ msg5620 nosy:
+ nriley |
2010-03-31 18:38:18 | draghuram | set | nosy:
+ draghuram |
2010-03-31 18:29:22 | rshaffer@vmware.com | create | |
|