~ubuntu-branches/ubuntu/wily/obs-build/wily

« back to all changes in this revision

Viewing changes to common_functions

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-10-25 02:30:05 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20141025023005-mu4p5a7tr1razm1h
Tags: 20141024-1
* New upstream snapshot.
* Update copyright, explicit GPL 2 or 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
 
 
3
################################################################
 
4
#
 
5
# Copyright (c) 1995-2014 SUSE Linux Products GmbH
 
6
#
 
7
# This program is free software; you can redistribute it and/or modify
 
8
# it under the terms of the GNU General Public License version 2 or 3 as
 
9
# published by the Free Software Foundation.
 
10
#
 
11
# This program is distributed in the hope that it will be useful,
 
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
# GNU General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with this program (see the file COPYING); if not, write to the
 
18
# Free Software Foundation, Inc.,
 
19
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 
20
#
 
21
################################################################
 
22
 
3
23
build_host_arch() {
4
24
    : ${BUILD_HOST_ARCH:=`uname -m`}
5
25
    BUILD_INITVM_ARCH="$BUILD_HOST_ARCH"