You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/bash ## compose: no-hooks
if [ -z "$SERVICE_DATASTORE" ]; then echo "This script is meant to be run through 'compose' to work properly." >&2 exit 1 fi
. "$CHARM_PATH/lib/common"
version=0.1 usage="$exname [-h|--help]" help=" USAGE:
$usage
DESCRIPTION:
Generate website from current content.
EXAMPLES:
$exname
"
dbname= output= while [ "$1" ]; do case "$1" in "--help"|"-h") print_help >&2 exit 0 ;; --*|-*) err "Unexpected optional argument '$1'" print_usage >&2 exit 1 ;; *) err "Unexpected positional argument '$1'" print_usage >&2 exit 1 ;; esac shift done
hugo:generate "$HOST_HUGO_SOURCE" "$HOST_HUGO_OUTPUT"
|