chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e75989
)
Print files we're rsyncinging
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 3 Jul 2009 17:08:22 +0000
(18:08 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 3 Jul 2009 17:08:22 +0000
(18:08 +0100)
pctb/convert.c
patch
|
blob
|
history
diff --git
a/pctb/convert.c
b/pctb/convert.c
index 61901a5924854c967d9fc981a63406d6af89f66d..6f40f94cd0c5cc7d1772a1d4cee9d78047b5539c 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-124,6
+124,8
@@
void fetch_with_rsync(const char *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);
+ if (DEBUGP(rsync))
+ fprintf(stderr,"executing rsync to fetch %s to %s\n",remote,local);
execlp(rsync, "rsync",
DEBUGP(rsync) ? "-vLt" : "-Lt",
"--",remote,local,(char*)0);