git-gui: Reorder msgfmt command-line arguments
Any program using getopt or getopt_long will stop processing options once a non-option argument has been encountered, if POSIXLY_CORRECT is set. Therefore, reorder the command-line arguments to put options first, so that the msgfmt call works in this scenario. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.ath.cx> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
brian m. carlson committed
Dec 3, 2007 at 01:26 UTC
54051102004addb6021a527be17b124c00d1482a
1 file changed
+1
-1
Makefile
+1
-1
@@ -212,7 +212,7 @@ $(PO_TEMPLATE): $(SCRIPT_SH) $(ALL_LIBFILES)
212
update-po:: $(PO_TEMPLATE)
213
$(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; )
214
$(ALL_MSGFILES): %.msg : %.po
215
- $(QUIET_MSGFMT0)$(MSGFMT) --statistics --tcl $< -l $(basename $(notdir $<)) -d $(dir $@) $(QUIET_MSGFMT1)
215
+ $(QUIET_MSGFMT0)$(MSGFMT) --statistics --tcl -l $(basename $(notdir $<)) -d $(dir $@) $< $(QUIET_MSGFMT1)
216
217
lib/tclIndex: $(ALL_LIBFILES) GIT-GUI-VARS
218
$(QUIET_INDEX)if echo \