chiark / gitweb /
add mdcommit and gnucommit, hacky variants of debcommit for other projects
[bin.git] / rosetta-merge-all
index 0dadc1eb2b39c3ee34edc39045f06cc1a3f2da25..a0d0a8ac864b812f040051ebec6464e310fe5503 100755 (executable)
@@ -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