summaryrefslogtreecommitdiffstats
path: root/tools/c2m-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/c2m-wrapper.sh')
-rwxr-xr-xtools/c2m-wrapper.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/c2m-wrapper.sh b/tools/c2m-wrapper.sh
new file mode 100755
index 000000000..8bfbbf97b
--- /dev/null
+++ b/tools/c2m-wrapper.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# Copyright 2021 Nokia
+# Licensed under the Apache License 2.0
+# SPDX-License-Identifier: Apache-2.0
+set -x
+echo "c2m-wrapper -------------------------------------------------------------"
+
+rst_editor="ls " ./c2m.sh $1
+
+out_dir="/mount/output"
+[ ! -d $out_dir ] && mkdir $out_dir
+[ -d $out_dir ] && rm -rf $out_dir/*
+
+mv -f -v output/* $out_dir \ No newline at end of file