[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: a typo'd regex character class is unlikely to match
git-admin at x2go.org
git-admin at x2go.org
Wed Apr 1 10:44:38 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 c5b511201837be705a8356c93c4da49cae7e070b
Author: Mihai Moldovan <ionic at ionic.de>
Date: Wed Apr 1 10:44:31 2015 +0200
bin/build-rpm-package: a typo'd regex character class is unlikely to match
---
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 fd3b401..4c45159 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -265,7 +265,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET
fi
# distribution - version - arch
- TMP_REGEX='^([[:alpha:]]+)-[[:alnum:]_]+-[[:alnum]_]+\.cfg$'
+ TMP_REGEX='^([[:alpha:]]+)-[[:alnum:]_]+-[[:alnum:]_]+\.cfg$'
if [[ ! "${MOCK_BASE}" =~ ${TMP_REGEX} ]]; then
echo "Error: MOCK_BASE parameter not well formed. Must be: 'distro-version-arch.cfg'." >&2
exit -1
--
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