Merge lp:~raphink/ubuntu-maintenance-check/externalsource into lp:ubuntu-maintenance-check

Proposed by Raphaël Pinson
Status: Needs review
Proposed branch: lp:~raphink/ubuntu-maintenance-check/externalsource
Merge into: lp:ubuntu-maintenance-check
Diff against target: 32 lines (+5/-3)
1 file modified
maintenance-check (+5/-3)
To merge this branch: bzr merge lp:~raphink/ubuntu-maintenance-check/externalsource
Reviewer Review Type Date Requested Status
Nick Barcet Pending
Review via email: mp+17765@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

24. By Raphaël Pinson <raphink@rpinson>

Modify -S option to alter all external URLs

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'maintenance-check'
2--- maintenance-check 2009-09-17 09:18:19 +0000
3+++ maintenance-check 2010-01-20 17:29:16 +0000
4@@ -57,7 +57,8 @@
5 filter=""
6 allmaint=""
7 showdate=""
8-usource="http://people.ubuntu.com/~ubuntu-archive/germinate-output"
9+usourcebase="http://people.ubuntu.com/~ubuntu-archive"
10+usource="${usourcebase}/germinate-output"
11
12 TEMP=`getopt -o hvdaf:S:D --long help,verbose,download,all,filter:,source:,date, -- "$@"`
13 eval set -- "$TEMP"
14@@ -94,7 +95,8 @@
15 shift
16 ;;
17 -S|--source)
18- usource=$2
19+ usourcebase=$2
20+ usource="${usourcebase}/germinate-output"
21 shift 2
22 ;;
23 -D|--date)
24@@ -419,7 +421,7 @@
25 release="$1"
26 shift || true
27
28- if ! wget -q -O - http://people.ubuntu.com/~ubuntu-archive/architecture-mismatches.txt > /dev/null; then
29+ if ! wget -q -O - "${usourcebase}/architecture-mismatches.txt" > /dev/null; then
30 echo "You need to have functioning Internet access to run this script."
31 exit 1
32 fi

Subscribers

People subscribed via source and target branches

to all changes: