summaryrefslogtreecommitdiff
path: root/publish
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2009-11-19 13:57:20 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2009-11-19 13:57:20 +0000
commit3befd527ce07de03cfff83ac09f2aeeebc469b74 (patch)
tree6d4da069d497ea064f78565e7060c6de31ae7918 /publish
parentd0de561afb1cf7289435e529c006cf318071fa35 (diff)
Support config file
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@415 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
Diffstat (limited to 'publish')
-rw-r--r--publish2
1 files changed, 2 insertions, 0 deletions
diff --git a/publish b/publish
index 2dccb18..907e856 100644
--- a/publish
+++ b/publish
@@ -29,6 +29,8 @@
base_http=http://www.example.com/pub
base_rsync=marvin.example.com:/var/www/www.example.comhtdocs/pub
+[ -e ~/.publish.cfg ] && . ~/.publish.cfg
+
usage()
{
cat << EOF