|
@@ -1,18 +0,0 @@
|
1
|
|
-#!/bin/sh
|
2
|
|
-
|
3
|
|
-if [ -f src/endian.h ]
|
4
|
|
-then
|
5
|
|
- echo GCC 3.x fix...
|
6
|
|
- mv src/endian.h src/mendian.h
|
7
|
|
-
|
8
|
|
- for i in `grep -l "endian.h" src/*.* src/*/*.*`; do mv $i $i.old && sed -e "s/endian.h/mendian.h/" $i.old > $i; done
|
9
|
|
-else
|
10
|
|
- echo Removing GCC 3.x fix...
|
11
|
|
- mv src/mendian.h src/endian.h
|
12
|
|
-
|
13
|
|
- for i in `grep -l "mendian.h" src/*.* src/*/*.*`; do mv $i $i.old && sed -e "s/mendian.h/endian.h/" $i.old > $i; done
|
14
|
|
-
|
15
|
|
-# for i in `find . -name "*.old"`; do echo $i > sed.0 && mv $i `sed -e "s/.old//" sed.0`; done
|
16
|
|
-#
|
17
|
|
-# rm -d sed.0
|
18
|
|
-fi
|