Changeset 808db8e in rtems
- Timestamp:
- 08/04/06 09:48:38 (17 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 1a768ef
- Parents:
- 5aafd7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/mingw/build.sh
r5aafd7a r808db8e 1 #! /bin/sh 1 2 # 2 3 # $Id$ … … 9 10 # 10 11 12 command_line="$0 $*" 13 11 14 terminate() 12 15 { 13 16 echo "error: $*" >&2 14 17 exit 1 18 echo "after" 15 19 } 16 20 … … 18 22 { 19 23 if [ $? -ne 0 ]; then 20 terminate 24 terminate $* 21 25 fi 22 26 } … … 81 85 done 82 86 87 echo "$command_line" > $log 88 83 89 scripts=$(dirname $0) 84 90 85 $scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version 2>&1 | tee $log 86 check "Making the RPM files." 91 $scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version 2>&1 | tee -a $log 92 if [ ${PIPESTATUS[0]} -ne 0 ]; then 93 terminate "Making the RPM files." 94 fi 87 95 88 96 $scripts/build-exes.sh $debug $no_run $prefix $targets $relocation 2>&1 | tee -a $log 89 check "Making the executable files." 97 if [ ${PIPESTATUS[0]} -ne 0 ]; then 98 terminate "Making the executable files." 99 fi 90 100 101 exit 0
Note: See TracChangeset
for help on using the changeset viewer.