summaryrefslogtreecommitdiffstats
path: root/perf-framework/remove_export_dirs
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-02-18 10:36:44 -0800
committerGerrit Code Review <root@dev.gluster.com>2012-02-18 10:36:44 -0800
commit6ed4ac470d7aaddd05ce179bc304ef688f5553aa (patch)
tree095187e0649d88c226563f41f19a6fba0b4a156e /perf-framework/remove_export_dirs
parent4de9a1a4df6667a59dd36148167d7ea188c69831 (diff)
parentdb468693ef5faa294d9bc3cd3c5d70c0d99d488b (diff)
Merge "Adding the performance framework to the qa repo"
Diffstat (limited to 'perf-framework/remove_export_dirs')
-rwxr-xr-xperf-framework/remove_export_dirs10
1 files changed, 10 insertions, 0 deletions
diff --git a/perf-framework/remove_export_dirs b/perf-framework/remove_export_dirs
new file mode 100755
index 0000000..c84d881
--- /dev/null
+++ b/perf-framework/remove_export_dirs
@@ -0,0 +1,10 @@
+#!/bin/bash -ue
+
+SERVER_EXPORT_DIR=$1
+
+if [ "$SERVER_EXPORT_DIR" != "" -a "$SERVER_EXPORT_DIR" != "/" ]
+then
+ echo "$SERVER_EXPORT_DIR"
+else
+ echo "Empty export dir"
+fi