diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-06-03 11:20:16 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-06-03 11:20:16 +0000 |
commit | 2d65dacc4f8c8ae34245d0f7a3d941b4f3f88be2 (patch) | |
tree | 676e24a98d95247f6aa39e95611194dfd40130ff | |
parent | f85c80fe8de5ac8b0e30350d7115c5fc9f337174 (diff) |
Fix emitting 'ERROR: ERROR:'.
-rwxr-xr-x | localikiwikicreatesite | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localikiwikicreatesite b/localikiwikicreatesite index a9d3623..59b40ac 100755 --- a/localikiwikicreatesite +++ b/localikiwikicreatesite @@ -3,7 +3,7 @@ # /usr/local/bin/localikiwikicreatesite # Copyright 2008 Jonas Smedegaard <dr@jones.dk> # -# $Id: localikiwikicreatesite,v 1.17 2008-02-13 18:55:32 jonas Exp $ +# $Id: localikiwikicreatesite,v 1.18 2008-06-03 11:20:16 jonas Exp $ # # Initialize ikiwiki site # @@ -102,7 +102,7 @@ done # Resolve FQDNs project="$1" -[ -n "$project" ] || exit1 "ERROR: Project name must be supplied!" +[ -n "$project" ] || exit1 "Project name must be supplied!" host="$2" [ -n "$host" ] || host="$project" echo "$host" | grep -q '\.' || host="$host.$domain" |