]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
typo fix
authorPeter Palfrader <peter@palfrader.org>
Sun, 7 Apr 2013 19:09:41 +0000 (21:09 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sun, 7 Apr 2013 19:09:41 +0000 (21:09 +0200)
modules/roles/templates/static-mirroring/static-update-component.erb

index 23fb0d97347ba24c3d0a9f86aa9478b22402246f..2f70cfbb7d7ba917e319b1a9baa7986b1566effd 100755 (executable)
@@ -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