8 lines
180 B
Bash
8 lines
180 B
Bash
#!/bin/sh
|
|
|
|
for n in `find . -name Makefile`; do \
|
|
echo "Fixing file $n"; \
|
|
mv -f $n $n.ar-new; \
|
|
sed 's/$(AR) cru/$(AR) -o/g' $n.ar-new > $n; \
|
|
rm -f $n.ar-new; \
|
|
done
|