diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-05-16 17:58:19 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-05-16 17:58:19 +0300 |
commit | 4eea18be49b42ec22269e9489ecb426433fbbdbc (patch) | |
tree | bcb4711930608762e3f42aa96166be80783fe0d5 /ql-ikiwiki-publish | |
parent | 19699b6c34cce713f7616a51312e629e7cc09f99 (diff) | |
download | ql-ikiwiki-publish-4eea18be49b42ec22269e9489ecb426433fbbdbc.tar.gz |
Fix so can handle more than just qvarn.org
Diffstat (limited to 'ql-ikiwiki-publish')
-rwxr-xr-x | ql-ikiwiki-publish | 3 |
1 files changed, 2 insertions, 1 deletions
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: |