| OLD | NEW |
| 1 #!/bin/bash | 1 #!/usr/bin/env bash |
| 2 # | 2 # |
| 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 # | 6 # |
| 7 # Script to create a Debian wheezy chroot environment for building Dart | 7 # Script to create a Debian wheezy chroot environment for building Dart |
| 8 # Debian packages. | 8 # Debian packages. |
| 9 # | 9 # |
| 10 | 10 |
| 11 function usage { | 11 function usage { |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 gclient sync | 107 gclient sync |
| 108 gclient runhooks | 108 gclient runhooks |
| 109 EOF | 109 EOF |
| 110 fi | 110 fi |
| 111 | 111 |
| 112 chmod 755 $CHROOT/b/init_chroot_trampoline.sh | 112 chmod 755 $CHROOT/b/init_chroot_trampoline.sh |
| 113 | 113 |
| 114 chown 1000:1000 $CHROOT/b/init_chroot.sh | 114 chown 1000:1000 $CHROOT/b/init_chroot.sh |
| 115 chmod 755 $CHROOT/b/init_chroot.sh | 115 chmod 755 $CHROOT/b/init_chroot.sh |
| 116 chroot $CHROOT /bin/sh /b/init_chroot_trampoline.sh | 116 chroot $CHROOT /bin/sh /b/init_chroot_trampoline.sh |
| OLD | NEW |