Changeset 74e8b02dc79b147aa7de80c2cc62c46d5a41fbaa

Show
Ignore:
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
  • configure.ac

    r962d839 r74e8b02  
    62726272rm -f compile 
    62736273echo '#! /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 
     6274echo rm -f .error\$\$ >>compile 
     6275echo ERROR=0 >>compile 
     6276echo export PATH=$PATH LANG=C >>compile 
     6277echo "(make \$@ 2>&1 || touch .error\$\$)| \\" >>compile 
     6278echo '`sed -ne "s/^top_srcdir *= *//p" < Makefile`/extras/buildsystem/make.pl' >>compile 
     6279echo test -f .error\$\$ \&\& ERROR=1 >>compile 
     6280echo rm -f .error\$\$ >>compile 
     6281echo exit \$ERROR >>compile 
    62776282chmod a+x compile 
    62786283