aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gprof/ChangeLog5
-rw-r--r--gprof/po/Make-in4
2 files changed, 6 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 7f79c93..7743637 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2003-07-17 Nick Clifton <nickc@redhat.com>
* po/es.po: New Spanish translation.
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 \