blob: 66324f0573c7a9bb9a2764b9fe0150fca02a1a23 [file] [log] [blame]
George Liuff92ffe2021-02-09 15:01:53 +08001#!/bin/bash
2#
3# config: 5 1
4# @brief: Move the ramoops data file to the dreport packaging.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="Ramoops file"
10
11for path in ${optional_path}/*
12do
13 if [ -f $path ]; then
14 # Remove the file from path after successful copy
15 if add_copy_file "$path" "$desc"; then
16 rm "$path"
17 fi
18 fi
19done