[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: variable ${file} is already a full-pathed file there, do not prepend ${TMP_MOCK_CFG_DIR}.

git-admin at x2go.org git-admin at x2go.org
Thu Apr 2 02:34:28 CEST 2015


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

x2go pushed a commit to branch master
in repository buildscripts.

commit dcb25dde2f695a69cc0c0d7aee9608ea4815c594
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 2 02:34:22 2015 +0200

    bin/build-rpm-package: variable ${file} is already a full-pathed file there, do not prepend ${TMP_MOCK_CFG_DIR}.
---
 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 261696c..800b4d0 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -84,7 +84,7 @@ cleanup () {
 				echo "Warning: mock temporary config file ${file} is not a regular file. Not unlinking." >&2
 			else
 				# Remove and ignore errors.
-				rm "${TMP_MOCK_CFG_DIR}/${file}" || :
+				rm "${file}" || :
 			fi
 		done
 

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