dreport: fix symlinks copy

Added -L option during directory copy to always
follow symbolic links in SOURCE.

Tested: Verified using dreport.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I65312424591ab4c29ef89df403dbdf999b3b6fa7
diff --git a/tools/dreport.d/include.d/functions b/tools/dreport.d/include.d/functions
index 45b9818..d3aff63 100755
--- a/tools/dreport.d/include.d/functions
+++ b/tools/dreport.d/include.d/functions
@@ -33,7 +33,7 @@
     file_name="$1"
     desc="$2"
 
-    cp -r $file_name $name_dir
+    cp -Lr $file_name $name_dir
     if [ $? -ne 0 ]; then
         log_error "Failed to copy $desc $file_name"
         return $RESOURCE_UNAVAILABLE