blob: 66324f0573c7a9bb9a2764b9fe0150fca02a1a23 [file] [log] [blame]
#!/bin/bash
#
# config: 5 1
# @brief: Move the ramoops data file to the dreport packaging.
#
. $DREPORT_INCLUDE/functions
desc="Ramoops file"
for path in ${optional_path}/*
do
if [ -f $path ]; then
# Remove the file from path after successful copy
if add_copy_file "$path" "$desc"; then
rm "$path"
fi
fi
done