~ubuntu-branches/ubuntu/trusty/gcc-4.7/trusty

« back to all changes in this revision

Viewing changes to debian/runcheck.sh

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-01-30 02:46:31 UTC
  • Revision ID: package-import@ubuntu.com-20130130024631-vy3u3vykhgp35uqt
Tags: 4.7.2-20ubuntu1
* Merge with Debian; remaining changes:
  - Build from upstream source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
EOF
16
16
 
17
17
 
18
 
if m=$(${CC:-gcc} -o $base $base.c 2>&1); then
19
 
    m=$($base 2>&1)
20
 
    printf "%s" ${m#* } > $base.out
21
 
    printf "%s" ${m#* }
22
 
else
23
 
    printf "%s" ${m##*:} > $base.out
24
 
    printf "%s" ${m##*:}
 
18
if ${CC:-gcc} -o $base $base.c 2>/dev/null; then
 
19
  if [ "$($base 2>&1)" = "$abi" ]; then
 
20
    printf "%s" $abi > $base.out
 
21
    printf "%s" $abi
 
22
  fi
25
23
fi