summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-11-27 19:00:05 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2012-11-27 19:00:05 +0100
commitd653ab14f1deb00cacf3c4a6cedf7337e13ad9ba (patch)
treeeac9b302b87163dbe1b1cafaa73ad6864ed8a273
parent0f3aaeea7a4af89767afbc22a0c9476d30712553 (diff)
downloadbcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.tar.gz
bcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.tar.bz2
bcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.zip
buildfile: fix regex for hostnames
-rwxr-xr-xbuildfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildfile b/buildfile
index d72b39c..f0c278c 100755
--- a/buildfile
+++ b/buildfile
@@ -15,7 +15,7 @@ if [ -z "$1" -o -z "$2" ]; then
fi
# check hostname
-if ! grep -q "<Client profile=\"[^\"]*\" name=\"$2\"" $REPO/Metadata/clients.xml; then
+if ! grep -q "<Client profile=\"[^\"]*\" \([a-z]\\+=\"[^\"]*\" \)*name=\"$2\"" $REPO/Metadata/clients.xml; then
echo "Host '$2' not found."
exit 1
fi