chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add mdcommit and gnucommit, hacky variants of debcommit for other projects
[bin.git]
/
rosetta-merge-all
diff --git
a/rosetta-merge-all
b/rosetta-merge-all
index 0dadc1eb2b39c3ee34edc39045f06cc1a3f2da25..a0d0a8ac864b812f040051ebec6464e310fe5503 100755
(executable)
--- a/
rosetta-merge-all
+++ b/
rosetta-merge-all
@@
-1,2
+1,6
@@
#! /bin/sh
-for x in *.po; do rosetta-merge $1 ${x%.*} | view -; done
+if [ "$1" = --apply ]; then
+ for x in *.po; do rosetta-merge "$@" ${x%.*}; done
+else
+ for x in *.po; do rosetta-merge "$@" ${x%.*} | view -; done
+fi