1
0
Fork 0
flightgear/irix-hack.sh
2001-04-02 02:59:31 +00:00

11 lines
245 B
Bash

#!/bin/sh
for n in `find . -name Makefile`; do \
echo "Fixing file $n"; \
\
mv -f $n $n.ar-new; \
sed 's/^AR = ar/AR = CC -ar/g' $n.ar-new > $n;
\
mv -f $n $n.ar-new; \
sed 's/$(AR) cru /$(AR) -o /g' $n.ar-new > $n; \
done