From: Colin Watson Date: Tue, 15 Apr 2008 15:52:02 +0000 (+0000) Subject: pass any other options to rosetta-merge, as well as --apply X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=5bbf62ce7ce9e9561d11132d4725d32c9b7e4381;p=bin.git pass any other options to rosetta-merge, as well as --apply --- diff --git a/rosetta-merge-all b/rosetta-merge-all index 98627a2..a0d0a8a 100755 --- a/rosetta-merge-all +++ b/rosetta-merge-all @@ -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