[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix builds by adding the .cfg extension back to mock config files.

git-admin at x2go.org git-admin at x2go.org
Sun Nov 13 03:13:13 CET 2016


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 89cbc303e29bffb6cb7c8e745b3ed869a5b5f1ab
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Nov 13 03:12:59 2016 +0100

    bin/build-rpm-package: fix builds by adding the .cfg extension back to mock config files.
---
 bin/build-rpm-package |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 344e796..ff9ecff 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -461,6 +461,9 @@ cache_mock_config () {
 		exit 1
 	fi
 
+	# Re-add the extension.
+	mock_cache_file_name="${mock_cache_file_name}.cfg"
+
 	typeset mock_cache_file_path="${MOCK_CACHE_DIR}/${mock_cache_file_name}"
 	if [ -f "${mock_cache_file_path}" ]; then
 		# A cached config file exists.

--
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