summaryrefslogtreecommitdiffstats
path: root/export.py
diff options
context:
space:
mode:
authorShwetha-H-Panduranga <shwetha@gluster.com>2011-12-06 14:26:59 +0530
committerShwetha-H-Panduranga <shwetha@gluster.com>2011-12-06 14:26:59 +0530
commit77c7f324610224e808d8940aec7e6dbf19b790a5 (patch)
tree4d5b3abe8e8220b058f9828822b527b2d6331702 /export.py
parent129e39fe6878f28ca203c690fab382b7289b334c (diff)
Adding New/Updated Automation Files
Diffstat (limited to 'export.py')
-rwxr-xr-xexport.py13
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