diff options
author | Shwetha-H-Panduranga <shwetha@gluster.com> | 2011-12-06 14:11:13 +0530 |
---|---|---|
committer | Shwetha-H-Panduranga <shwetha@gluster.com> | 2011-12-06 14:11:13 +0530 |
commit | 18445ae1a94366c955cc7626fb8ec749dedcf73e (patch) | |
tree | af8b3a9db47f3a472aa4abae4629b517aa71885b /export.py | |
parent | 5b847067495a65c71c56ad477780ed57e9e0fb2f (diff) |
Adding New/Updated Automation Files
Diffstat (limited to 'export.py')
-rwxr-xr-x | export.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/export.py b/export.py new file mode 100755 index 0000000..e33812a --- /dev/null +++ b/export.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python + +import os +import os + +exportstr = '' +libdir = os.getcwd() + "/SharedModules/" +for dirname, dirnames, filenames in os.walk(libdir): + for subdirname in dirnames: + exportstr = exportstr + os.path.join(dirname, subdirname) + ':' + +exportstr = os.getcwd() + ":" + libdir + ":" + exportstr +print exportstr |