Deal with *.tmp.msg after mkcatdefs failure
authorMarcin Cieslak <saper@saper.info>
Wed, 15 Aug 2012 01:30:48 +0000 (03:30 +0200)
committerJon Trulson <jon@radscan.com>
Wed, 15 Aug 2012 02:37:03 +0000 (20:37 -0600)
commit2562c2cbeb35ff38a09444e55515c0577a2fe9d9
tree8506dfdffa1e26b82fda98dc74644d027ff8a636
parentde82eebdd56c02ae200bf2d9ec60df053919e7e7
Deal with *.tmp.msg after mkcatdefs failure

BSD make interrupts shell pipeline after
if it cannot run the command:

rm -f Mrm.msg
ln -s ../../../../imports/motif/localized/de_DE.ISO8859-1/msg/Mrm.msg Mrm.msg
Running mkcatdefs for Mrm.cat with LANG set to de_DE.ISO8859-1
(  rm -f Mrm.cat Mrm.tmp.msg;  LANG=de_DE.ISO8859-1;  export LANG;  ../../../../imports/motif/localized/util/mkcatdefs Mrm Mrm.msg -h > Mrm.tmp.msg;  gencat  Mrm.cat Mrm.tmp.msg;  rm -f Mrm.tmp.msg  )
../../../../imports/motif/localized/util/mkcatdefs: not found
*** Error code 127

After this, an empty Mrm.tmp.msg is left.
cde/.gitignore
cde/programs/localized/templates/msg.tmpl