Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: debian.chrome/scripts/control-create

Issue 646032: Rename config to match naming convention. (Closed)
Patch Set: Send mail Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « debian.chrome/scripts/abi-check ('k') | debian.chrome/scripts/link-headers » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 . debian/debian.env
4
5 vars=$1
6
7 . $vars
8
9 if [ "$is_sub" = "" ]; then
10 flavour=$(basename $vars | sed 's/.*\.//')
11 stub=${DEBIAN}/control.d/flavour-control.stub
12 else
13 flavour=$(basename $vars .vars)
14 stub=${DEBIAN}/sub-flavours/control.stub
15 fi
16
17 cat $stub | grep -v '^#' | sed \
18 -e "s#FLAVOUR#$flavour#g" \
19 -e "s#DESC#$desc#g" \
20 -e "s#ARCH#$arch#g" \
21 -e "s#SUPPORTED#$supported#g" \
22 -e "s#TARGET#$target#g" \
23 -e "s#BOOTLOADER#$bootloader#g" \
24 -e "s#=PROVIDES=#$provides#g" \
25 -e "s#=CONFLICTS=#$conflicts#g"
OLDNEW
« no previous file with comments | « debian.chrome/scripts/abi-check ('k') | debian.chrome/scripts/link-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698