summaryrefslogtreecommitdiffstats
path: root/tools/c2m-wrapper.sh
blob: 8bfbbf97bdaf81de9280bc7d99ffe40c7fe7275c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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