diff options
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | ql-ikiwiki-publish | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -4,6 +4,7 @@ NEWS for ql-ikiwiki-publish Version 0.4+git, not yet released --------------------------------- +* Fix the script so it can handle more than just www.qvarn.org. Version 0.4, released 2016-05-16 --------------------------------- diff --git a/ql-ikiwiki-publish b/ql-ikiwiki-publish index 2021c55..927c83e 100755 --- a/ql-ikiwiki-publish +++ b/ql-ikiwiki-publish @@ -43,7 +43,8 @@ def mangle_setup(src, dest, html): static_http = sys.argv[1] -rsync_target = 'static@{}:/srv/http/www.qvarn.org/.'.format(static_http) +dirname = sys.argv[2] +rsync_target = 'static@{}:/srv/http/{}/.'.format(static_http, dirname) T = tempfile.mkdtemp() try: |