chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change #<thing>#.<ext> filenames to _<thing>.<ext>
[ypp-sc-tools.db-live.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index 3c5af994c3f7c9db88c8cc22875b7979f6384bad..9531da02626dfbd624135de41daaaab43ddbc8e9 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-125,7
+125,7
@@
void fetch_with_rsync(const char *stem) {
const char *src= getenv("YPPSC_PCTB_DICT_UPDATE");
char *remote= masprintf("%s/master-%s.txt", src, stem);
const char *src= getenv("YPPSC_PCTB_DICT_UPDATE");
char *remote= masprintf("%s/master-%s.txt", src, stem);
- char *local= masprintf("
#master-%s#
.txt", stem);
+ char *local= masprintf("
_master-%s
.txt", stem);
if (DEBUGP(rsync))
fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local);
execlp(rsync, "rsync",
if (DEBUGP(rsync))
fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local);
execlp(rsync, "rsync",
@@
-267,7
+267,7
@@
int main(int argc, char **argv) {
o_serv_dict_submit, o_flags & ff_dict_submit);
if (!o_screenshot_fn)
o_serv_dict_submit, o_flags & ff_dict_submit);
if (!o_screenshot_fn)
- o_screenshot_fn= masprintf("%s/
#pages#
.ppm",get_vardir());
+ o_screenshot_fn= masprintf("%s/
_pages
.ppm",get_vardir());
/* Actually do the work */
/* Actually do the work */