#! /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