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:
d1119bf
)
Create target directory before copying
author
Peter Eisentraut
<peter_e@gmx.net>
Fri, 2 Jan 2009 12:09:28 +0000
(12:09 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Fri, 2 Jan 2009 12:09:28 +0000
(12:09 +0000)
cp-po-back
patch
|
blob
|
blame
|
history
diff --git
a/cp-po-back
b/cp-po-back
index 10b6ff2e7525497575bb40cd39c3d4d631e3bd91..146645b3ad61887ca8fe5efa79de65ba15479997 100755
(executable)
--- a/
cp-po-back
+++ b/
cp-po-back
@@
-34,6
+34,7
@@
for srcfile in $(find "$srcdir" -name '*.po'); do
if ! [ -e $targetfile ] || ! diff $srcfile $targetfile >/dev/null; then
[ -e $targetfile ] || new="$new $lang/$srccat.po"
echo " cp $srcfile $targetfile"
+ mkdir -p $(dirname $targetfile)
cp $srcfile $targetfile
fi
done