[PC-BSD Commits] r7976 - pcbsd/current/src-sh/pbi-manager
svn at pcbsd.org
svn at pcbsd.org
Wed Nov 3 10:33:14 PDT 2010
Author: kris
Date: 2010-11-03 10:33:14 -0700 (Wed, 03 Nov 2010)
New Revision: 7976
Modified:
pcbsd/current/src-sh/pbi-manager/pbi-manager
Log:
Small fix to merging hash-files to speed up diff
Modified: pcbsd/current/src-sh/pbi-manager/pbi-manager
===================================================================
--- pcbsd/current/src-sh/pbi-manager/pbi-manager 2010-11-03 15:59:06 UTC (rev 7975)
+++ pcbsd/current/src-sh/pbi-manager/pbi-manager 2010-11-03 17:33:14 UTC (rev 7976)
@@ -1619,7 +1619,7 @@
mkdir -p ${PBI_HASHDIR}/${dir}
fi
# Confirm that the files are the same
- diff "${file}" "${PBI_HASHDIR}/${tfile}" >/dev/null 2>/dev/null
+ diff -q "${file}" "${PBI_HASHDIR}/${tfile}" >/dev/null 2>/dev/null
if [ "$?" = "0" ] ; then
if [ "$PBI_VERBOSE" = "YES" ] ; then echo "." ; fi
ln -f "${PBI_HASHDIR}/${tfile}" "${file}"
More information about the Commits
mailing list