view libtomcrypt/updatemakes.sh @ 617:81def6b732c7

Clean up fd on failure. Found by Klocwork
author Matt Johnston <matt@ucc.asn.au>
date Thu, 07 Apr 2011 13:25:00 +0000
parents 0cbe8f6dbf9e
children 6dba84798cd5
line wrap: on
line source

#!/bin/bash

bash genlist.sh > tmplist

perl filter.pl makefile tmplist
mv -f tmp.delme makefile

perl filter.pl makefile.icc tmplist
mv -f tmp.delme makefile.icc

perl filter.pl makefile.shared tmplist
mv -f tmp.delme makefile.shared

perl filter.pl makefile.unix tmplist
mv -f tmp.delme makefile.unix

perl filter.pl makefile.msvc tmplist
sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc

rm -f tmplist
rm -f tmp.delme