projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-dev.py: allow current directory to be used as the working directory
[cascardo/ovs.git]
/
utilities
/
ovs-dev.py
diff --git
a/utilities/ovs-dev.py
b/utilities/ovs-dev.py
index
8128b08
..
54989e6
100755
(executable)
--- a/
utilities/ovs-dev.py
+++ b/
utilities/ovs-dev.py
@@
-22,7
+22,10
@@
import tempfile
ENV = os.environ
HOME = ENV["HOME"]
ENV = os.environ
HOME = ENV["HOME"]
+PWD = os.getcwd()
OVS_SRC = HOME + "/ovs"
OVS_SRC = HOME + "/ovs"
+if os.path.exists(PWD + "/WHY-OVS.md"):
+ OVS_SRC = PWD # Use current directory as OVS source tree
ROOT = HOME + "/root"
BUILD_GCC = OVS_SRC + "/_build-gcc"
BUILD_CLANG = OVS_SRC + "/_build-clang"
ROOT = HOME + "/root"
BUILD_GCC = OVS_SRC + "/_build-gcc"
BUILD_CLANG = OVS_SRC + "/_build-clang"