Merge lp:~smoser/cloud-archive-utils/sbuild-cloud-tools into lp:cloud-archive-utils

Proposed by Scott Moser
Status: Needs review
Proposed branch: lp:~smoser/cloud-archive-utils/sbuild-cloud-tools
Merge into: lp:cloud-archive-utils
Diff against target: 19 lines (+3/-2)
1 file modified
bin/sbuild-ca (+3/-2)
To merge this branch: bzr merge lp:~smoser/cloud-archive-utils/sbuild-cloud-tools
Reviewer Review Type Date Requested Status
Ubuntu Cloud Archive Team Pending
Review via email: mp+280502@code.launchpad.net

Commit message

Add 'sbuild-cloud-tools' link and support using it

Add the sbuild-cloud-tools link to sbuild-ca and then change how we read 'release' so that we get everything after the first - in basename of the executable. End result is that sbuild-cloud-tools gets release=cloud-tools rather than 'tools.

To post a comment you must log in.

Unmerged revisions

45. By Scott Moser

add sbuild-cloud-tools and support running that.

the change here reads 'release' from anything after first -, allowing for
the '-' that exists in cloud-tools.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/sbuild-ca'
--- bin/sbuild-ca 2015-11-09 10:50:19 +0000
+++ bin/sbuild-ca 2015-12-14 18:48:01 +0000
@@ -1,9 +1,10 @@
1#!/bin/bash1#!/bin/bash
22
3release=`basename $0 | cut -d - -f 2`3bname=${0##*/}
4release=${bname#*-}
45
5case $release in6case $release in
6 folsom|grizzly|havana|icehouse)7 folsom|grizzly|havana|icehouse|cloud-tools)
7 target=precise8 target=precise
8 aar_pkg=python-software-properties9 aar_pkg=python-software-properties
9 ;;10 ;;
1011
=== added symlink 'bin/sbuild-cloud-tools'
=== target is u'sbuild-ca'

Subscribers

People subscribed via source and target branches