| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # | 5 # |
| 6 | 6 |
| 7 # nacl-install-windows-ports-4.sh | 7 # nacl-install-windows-ports-4.sh |
| 8 # | 8 # |
| 9 # usage: nacl-install-windows-ports-4.sh | 9 # usage: nacl-install-windows-ports-4.sh |
| 10 # | 10 # |
| 11 # This script builds the packages for Native Client that are designated to | 11 # This script builds the packages for Native Client that are designated to |
| 12 # the bot named windows-ports-4. | 12 # the bot named windows-ports-4. |
| 13 # | 13 # |
| 14 | 14 |
| 15 source ../bot_common.sh | 15 source ../bot_common.sh |
| 16 | 16 |
| 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" | 17 SCRIPT_DIR="$(cd $(dirname $0) && pwd)" |
| 18 cd ${SCRIPT_DIR}/../../.. | 18 cd ${SCRIPT_DIR}/../../.. |
| 19 make clean | 19 make clean |
| 20 | 20 |
| 21 BuildPackage freeimage | 21 BuildPackage freeimage |
| 22 BuildPackage mesa | 22 BuildPackage mesa |
| 23 BuildPackage ncurses | 23 BuildPackage ncurses |
| 24 | 24 |
| 25 echo "@@@BUILD_STEP ${NACL_PACKAGES_BITSIZE}-bit Summary@@@" | 25 echo "@@@BUILD_STEP ${NACL_ARCH} Summary@@@" |
| 26 if [[ $RESULT != 0 ]] ; then | 26 if [[ $RESULT != 0 ]] ; then |
| 27 echo "@@@STEP_FAILURE@@@" | 27 echo "@@@STEP_FAILURE@@@" |
| 28 fi | 28 fi |
| 29 | 29 |
| 30 echo -e "$MESSAGES" | 30 echo -e "$MESSAGES" |
| 31 | 31 |
| 32 exit $RESULT | 32 exit $RESULT |
| OLD | NEW |