aboutsummaryrefslogtreecommitdiff
path: root/gprof
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
parentaa37626c9e4c2aa85bb7f48ec6b8fdb6b60041f2 (diff)
downloadfsf-binutils-gdb-29d001d6147b1238caaf34f3ef8b61a1c07bf231.zip
fsf-binutils-gdb-29d001d6147b1238caaf34f3ef8b61a1c07bf231.tar.gz
fsf-binutils-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')
-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 \