projects
/
pgtranslation
/
admin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c28283
)
cp-po: Better support for symlinked directories
author
Peter Eisentraut
<peter_e@gmx.net>
Mon, 28 Aug 2017 14:35:58 +0000
(10:35 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Mon, 28 Aug 2017 14:35:58 +0000
(10:35 -0400)
cp-po
patch
|
blob
|
blame
|
history
diff --git
a/cp-po
b/cp-po
index 3b129d506922dcf7e371e73ea134879ec6601be6..ac54b34a1a7b74689a9cc8d7871a065c0e3eea3c 100755
(executable)
--- a/
cp-po
+++ b/
cp-po
@@
-85,9
+85,9
@@
if $git_mode; then
export GIT_DIR
fi
-nls_mks=$(find "$destdir" -name nls.mk)
+nls_mks=$(find
-H
"$destdir" -name nls.mk)
-for srcfile in $(find "$srcdir" -name '*.po'); do
+for srcfile in $(find
-H
"$srcdir" -name '*.po'); do
base=$(echo X"$srcfile" | sed "s,^X$srcdir/*,,")
lang=$(expr $base : '\([a-z][a-zA-Z_]*\)')
srccat=$(expr $base : '.*/\([^/]*\)\.po$')