From cf8e51b94b30d9c9d8db43cd3a9b1a0fb6bd3886 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 7 Apr 2013 21:09:41 +0200 Subject: [PATCH] typo fix --- .../templates/static-mirroring/static-update-component.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2