chiark / gitweb /
pass any other options to rosetta-merge, as well as --apply
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Apr 2008 15:52:02 +0000 (15:52 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 15 Apr 2008 15:52:02 +0000 (15:52 +0000)
rosetta-merge-all

index 98627a2..a0d0a8a 100755 (executable)
@@ -1,7 +1,6 @@
 #! /bin/sh
 if [ "$1" = --apply ]; then
-       shift
-       for x in *.po; do rosetta-merge --apply $1 ${x%.*}; done
+       for x in *.po; do rosetta-merge "$@" ${x%.*}; done
 else
-       for x in *.po; do rosetta-merge $1 ${x%.*} | view -; done
+       for x in *.po; do rosetta-merge "$@" ${x%.*} | view -; done
 fi