| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # | 2 # |
| 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # |
| 5 # found in the LICENSE file. | 5 # This program is free software; you can redistribute it and/or modify |
| 6 # it under the terms of the GNU General Public License version 2, as |
| 7 # published by the Free Software Foundation. |
| 8 # |
| 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. |
| 13 # |
| 14 # You should have received a copy of the GNU General Public License along |
| 15 # with this program; if not, write to the Free Software Foundation, Inc., |
| 16 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 6 # | 17 # |
| 7 # Builds the .deb package. | 18 # Builds the .deb package. |
| 8 | 19 |
| 9 # Load common constants. This should be the first executable line. | 20 # Load common constants. This should be the first executable line. |
| 10 # The path to common.sh should be relative to your script's location. | 21 # The path to common.sh should be relative to your script's location. |
| 11 COMMON_SH="$(dirname "$0")/../../../scripts/common.sh" | 22 COMMON_SH="$(dirname "$0")/../../../scripts/common.sh" |
| 12 . "$COMMON_SH" | 23 . "$COMMON_SH" |
| 13 | 24 |
| 14 # Remove this file to force configure to be rerun even when dirty | 25 # Remove this file to force configure to be rerun even when dirty |
| 15 rm -f $(dirname "$0")/config.status | 26 rm -f $(dirname "$0")/config.status |
| 16 | 27 |
| 17 # Make the package | 28 # Make the package |
| 18 make_pkg_common "upstart" "$@" | 29 make_pkg_common "upstart" "$@" |
| OLD | NEW |