diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-27 19:00:05 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-11-27 19:00:05 +0100 |
commit | d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba (patch) | |
tree | eac9b302b87163dbe1b1cafaa73ad6864ed8a273 /buildfile | |
parent | 0f3aaeea7a4af89767afbc22a0c9476d30712553 (diff) | |
download | bcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.tar.gz bcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.tar.bz2 bcfg2-tools-d653ab14f1deb00cacf3c4a6cedf7337e13ad9ba.zip |
buildfile: fix regex for hostnames
Diffstat (limited to 'buildfile')
-rwxr-xr-x | buildfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |