Changes in dreport to accept /tmp/ as a valid dir

In the dreport script there is a condition which checks for
'/tmp' only. When the user passes directory as '/tmp/' this
check fails. As a result the overall operation fails.
This commit fixes this by treating '/tmp/' as a valid directory.

Signed-off-by: Chirag Sharma <chirshar@in.ibm.com>
Change-Id: Ie11f96f0ff71bfb1fa4fedc59c40d8191116c5c6
diff --git a/tools/dreport.d/dreport b/tools/dreport.d/dreport
index 3b6dce3..a6c1e68 100755
--- a/tools/dreport.d/dreport
+++ b/tools/dreport.d/dreport
@@ -238,7 +238,7 @@
 
     echo $($TIME_STAMP) "Report is available in $dump_dir"
 
-    if [ "$TMP_DIR" == "$dump_dir" ]; then
+    if [ "$TMP_DIR" == "$dump_dir" ] || [ "$TMP_DIR/" == "$dump_dir" ]; then
        return $SUCCESS
     fi