summaryrefslogtreecommitdiffstats
path: root/perf-framework/remove_export_dirs
diff options
context:
space:
mode:
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