fixup! publish all

This commit is contained in:
Sami Samhuri 2014-02-16 23:03:18 -08:00
parent 3a09348e3b
commit be2b7af74a

View file

@ -48,7 +48,7 @@ if [[ $# -eq 0 ]]; then
if [[ "$delete" != "" ]]; then
bail "no paths given, cowardly refusing to publish everything with --delete"
fi
$prefix rsync -aKv $dryrun $delete public/* "$publish_host":"${publish_dir}"
$prefix rsync -aKv $dryrun $delete www/* "$publish_host":"${publish_dir}"
else
$prefix rsync -aKv $dryrun $delete "$@" "$publish_host":"${publish_dir}"
fi