From: Peter Palfrader Date: Sun, 7 Apr 2013 19:09:41 +0000 (+0200) Subject: typo fix X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf8e51b94b30d9c9d8db43cd3a9b1a0fb6bd3886;p=dsa-puppet.git typo fix --- diff --git a/modules/roles/templates/static-mirroring/static-update-component.erb b/modules/roles/templates/static-mirroring/static-update-component.erb index 23fb0d97..2f70cfbb 100755 --- a/modules/roles/templates/static-mirroring/static-update-component.erb +++ b/modules/roles/templates/static-mirroring/static-update-component.erb @@ -61,12 +61,12 @@ if [ -z "$srchost" ] || [ -z "$srcdir" ]; then exit 1 fi -if ! [ "$srchost" = "$thisthost" ] && [ -z "$inextralist" ]; then +if ! [ "$srchost" = "$thishost" ] && [ -z "$inextralist" ]; then echo >&2 "Component $component is sourced from $srchost, and this host is neither that nor in the extra allowed list." exit 1 fi -if [ "$srchost" = "$thisthost" ] && ! [ -d "$srcdir" ]; then +if [ "$srchost" = "$thishost" ] && ! [ -d "$srcdir" ]; then echo >&2 "Component source directory $srcdir does not exist or is not a directory, or is not accessible." exit 1 fi