Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
pankaj
2014-09-30 15:12:45 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dff24440ee7faca009093ea76dac60471a242c80
dff24440
1 parent
b77d65a3
make bash_profile work
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
tools/dev/bash_profile
tools/dev/bash_profile
View file @
dff2444
...
...
@@ -6,7 +6,7 @@
export
ONOS_ROOT
=
${
ONOS_ROOT
:-
~/onos-next
}
# Setup some environmental context for developers
export
JAVA_HOME
=
$(
/usr/libexec/java_home
)
export
JAVA_HOME
=
$(
/usr/libexec/java_home
-v 1.7
)
export
MAVEN
=
${
MAVEN
:-
~/Applications/apache-maven-3.2.2
}
export
KARAF
=
${
KARAF
:-
~/Applications/apache-karaf-3.0.1
}
export
KARAF_LOG
=
$KARAF
/data/log/karaf.log
...
...
@@ -21,7 +21,7 @@ export PATH="$PATH:."
# Convenience utility to warp to various ONOS source projects
# e.g. 'o api', 'o dev', 'o'
function
o
{
cd
$(
find
$ONOS_ROOT
/ -type d | egrep -v
'\.git|target
|src
'
|
\
cd
$(
find
$ONOS_ROOT
/ -type d | egrep -v
'\.git|target'
|
\
egrep
"
${
1
:-
$ONOS_ROOT
}
"
| head -n 1
)
}
...
...
Please
register
or
login
to post a comment