diff --git a/java-17-openj9.spec b/java-17-openj9.spec index a8ef3b2..052a0eb 100644 --- a/java-17-openj9.spec +++ b/java-17-openj9.spec @@ -622,7 +622,7 @@ if [ X"`%{_bindir}/file --mime-type -b %{javacacerts}`" \ fi # remove the default empty cacert file, if it's installed -if [ 0`stat -c "%{s}" %{cacerts} 2>/dev/null` = "032" ] ; then +if [ 0`stat -c "%%s" %{cacerts} 2>/dev/null` = "032" ] ; then rm -f %{cacerts} fi