From 86e2c2a2594650cc37de9f135f294df285b4678b Mon Sep 17 00:00:00 2001
From: openEuler Buildteam <buildteam@openeuler.org>
Date: Fri, 4 Jun 2021 15:28:24 +0800
Subject: [PATCH] fix fixfiles -N date function

---
 policycoreutils-3.1/scripts/fixfiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policycoreutils-3.1/scripts/fixfiles b/policycoreutils-3.1/scripts/fixfiles
index 8f5926a..21a1152 100755
--- a/policycoreutils-3.1/scripts/fixfiles
+++ b/policycoreutils-3.1/scripts/fixfiles
@@ -151,7 +151,7 @@ newer() {
     shift
     LogReadOnly
     for m in `echo $FILESYSTEMSRW`; do
-	find $m -mount -newermt $DATE -print0 2>/dev/null | ${RESTORECON} ${FORCEFLAG} ${VERBOSE} $* -i -0 -f -
+	find $m -mount -newermt "$DATE" -print0 2>/dev/null | ${RESTORECON} ${FORCEFLAG} ${VERBOSE} $* -i -0 -f -
     done;
 }
 
-- 
1.8.3.1

