OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # Builds the .deb package. | 7 # Builds the .deb package. |
8 | 8 |
9 # Load common constants. This should be the first executable line. | 9 # Load common constants. This should be the first executable line. |
10 # The path to common.sh should be relative to your script's location. | 10 # The path to common.sh should be relative to your script's location. |
11 COMMON_SH="$(dirname "$0")/../../scripts/common.sh" | 11 COMMON_SH="$(dirname "$0")/../../scripts/common.sh" |
12 . "$COMMON_SH" | 12 . "$COMMON_SH" |
13 | 13 |
14 # Make the package | 14 # Make the package |
15 make_pkg_common "dh-chromeos" "$@" | 15 make_pkg_common "dh-chromeos" "$@" |
| 16 |
| 17 sudo -E dpkg -i "${OUT_DIR}/dh-chromeos"_*.deb |
OLD | NEW |