summaryrefslogtreecommitdiffstats
path: root/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'buildfile')
-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