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:
a63ecf4
)
Fixes to commit in the right directory when using git
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 1 Dec 2011 21:24:26 +0000
(21:24 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 1 Dec 2011 21:24:26 +0000
(21:24 +0000)
cp-po
patch
|
blob
|
blame
|
history
diff --git
a/cp-po
b/cp-po
index b97d332fda09a420fe60db3aaa70b8dc8d420687..499bc4cf1a6a38b138b61737c3ab8c284c38ef8c 100755
(executable)
--- a/
cp-po
+++ b/
cp-po
@@
-123,7
+123,7
@@
for srcfile in $(find "$srcdir" -name '*.po'); do
fi
chmod 644 $targetfile
if $git_mode; then
- git add $
targetfile
+ git add $
(echo "$targetfile" | sed "s,^$destdir/,,")
fi
fi
fi
@@
-163,7
+163,7
@@
if $update_target_tree; then
sed -e 's/\(AVAIL_LANGUAGES.*:*= *\).*$/\1'"$langs/" $y >$y.new
mv $y.new $y
if $git_mode; then
- git add $
y
+ git add $
(echo "$y" | sed "s,^$destdir/,,")
fi
done
fi