[X2Go-Commits] [buildscripts] 02/05: bin/build-rpm-package: quiet down cmp, just for good measure.

git-admin at x2go.org git-admin at x2go.org
Sat Oct 29 02:14:07 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 9a961b2df82921a552800ffbf3484d46b0c4862b
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Oct 29 02:04:04 2016 +0200

    bin/build-rpm-package: quiet down cmp, just for good measure.
---
 bin/build-rpm-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index e82a6b7..344e796 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -466,7 +466,7 @@ cache_mock_config () {
 		# A cached config file exists.
 		if [ -r "${mock_cache_file_path}" ]; then
 			# It's also readable. Compare it.
-			cmp "${TMP_MOCK_CFG_FILE}" "${mock_cache_file_path}" && {
+			cmp -s "${TMP_MOCK_CFG_FILE}" "${mock_cache_file_path}" && {
 				echo "Cached mock config file matches generated one, using the cached file." >&2
 			} || {
 				echo "Refreshing cached mock config file due to differing content." >&2

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list