Changeset 74e8b02dc79b147aa7de80c2cc62c46d5a41fbaa
- Timestamp:
- 06/03/08 22:15:57
(7 months ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1204838157 +0100
- git-parent:
[962d839d267f719ab9b273c953369e0024bb9cc3]
- git-author:
- Rafaël Carré <funman@videolan.org> 1204752840 +0100
- Message:
Make ./compile script return the make return code, storing the value in a temporary hidden file (using the shell PID to guarantee uniqueness)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r962d839 |
r74e8b02 |
|
| 6272 | 6272 | rm -f compile |
|---|
| 6273 | 6273 | echo '#! /bin/sh' >compile |
|---|
| 6274 | | |
|---|
| 6275 | | echo "PATH=$PATH LANG=C make \$@ 2>&1| \\" >> compile |
|---|
| 6276 | | echo '`sed -ne "s/^top_srcdir *= *//p" < Makefile`/extras/buildsystem/make.pl' >> compile |
|---|
| | 6274 | echo rm -f .error\$\$ >>compile |
|---|
| | 6275 | echo ERROR=0 >>compile |
|---|
| | 6276 | echo export PATH=$PATH LANG=C >>compile |
|---|
| | 6277 | echo "(make \$@ 2>&1 || touch .error\$\$)| \\" >>compile |
|---|
| | 6278 | echo '`sed -ne "s/^top_srcdir *= *//p" < Makefile`/extras/buildsystem/make.pl' >>compile |
|---|
| | 6279 | echo test -f .error\$\$ \&\& ERROR=1 >>compile |
|---|
| | 6280 | echo rm -f .error\$\$ >>compile |
|---|
| | 6281 | echo exit \$ERROR >>compile |
|---|
| 6277 | 6282 | chmod a+x compile |
|---|
| 6278 | 6283 | |
|---|