aboutsummaryrefslogtreecommitdiff
path: root/gprof/po/Make-in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-07-19 07:31:15 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-07-19 07:31:15 +0000
commit29d001d6147b1238caaf34f3ef8b61a1c07bf231 (patch)
treea5beb4212f35e6fcd0816c7d52d9143bf6d9c853 /gprof/po/Make-in
parentaa37626c9e4c2aa85bb7f48ec6b8fdb6b60041f2 (diff)
downloadgdb-29d001d6147b1238caaf34f3ef8b61a1c07bf231.zip
gdb-29d001d6147b1238caaf34f3ef8b61a1c07bf231.tar.gz
gdb-29d001d6147b1238caaf34f3ef8b61a1c07bf231.tar.bz2
2003-07-20 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (.po.gmo): Do check if the .gmo file is writable before generating it.
Diffstat (limited to 'gprof/po/Make-in')
-rw-r--r--gprof/po/Make-in4
1 files changed, 1 insertions, 3 deletions
diff --git a/gprof/po/Make-in b/gprof/po/Make-in
index 864b49a..6176dbf 100644
--- a/gprof/po/Make-in
+++ b/gprof/po/Make-in
@@ -72,9 +72,7 @@ INSTOBJEXT = @INSTOBJEXT@
.po.gmo:
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
- && test -w $$file \
- && (rm -f $$file && $(GMSGFMT) -o $$file $< ) \
- || echo "$$file is not writable"
+ && rm -f $$file && $(GMSGFMT) -o $$file $<
.po.cat:
sed -f ../intl/po2msg.sed < $< > $*.msg \