37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
bzip2 -dc "tcc-${tcc_version}.tar.bz2" | tar -xf -
rm -f "tcc-${tcc_version}.tar.bz2"
## Apply patches
for patchfile in ../build/tcc-patches/${tcc_version}/*.diff; do
( cd * && patch -p1 ) < "${patchfile}"
done
rm -rf ../tcc
mkdir ../tcc || exit 1
mv */* ../tcc/
)
rm -rf __TMP__
|
|
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
bzip2 -dc "tcc-${tcc_version}.tar.bz2" | tar -xf -
rm -f "tcc-${tcc_version}.tar.bz2"
## Apply patches
for patchfile in ../build/tcc-patches/${tcc_version}/*.diff; do
( cd * && patch --no-backup-if-mismatch -p1 ) < "${patchfile}"
done
rm -rf ../tcc
mkdir ../tcc || exit 1
mv */* ../tcc/
)
rm -rf __TMP__
|