#!/bin/bash ODIR=pull-$$ RELATIVE_TO="master" COMMIT_ID="HEAD" PULL_URL="git://git.pokylinux.org/poky-contrib.git" PREFIX="PATCH" usage() { CMD=$(basename $0) cat < /dev/null # Customize the cover letter CL="$ODIR/0000-cover-letter.patch" (cat < --- EOM ) | sed -i "/BLURB HERE/ r /dev/stdin" "$CL" # If the user specified a message body, insert it into the cover letter and # remove the BLURB token. if [ -n "$BODY" ]; then sed -i "/BLURB HERE/ r $BODY" "$CL" sed -i "/BLURB HERE/ d" "$CL" fi # If the user specified a subject, replace the SUBJECT token with it. if [ -n "$SUBJECT" ]; then sed -i -e "s/\*\*\* SUBJECT HERE \*\*\*/$SUBJECT/" "$CL" fi # Generate report for user cat <opkg/opkg-config-base_1.0.bb
blob: e766f0c7b51bce27f845cdbf90190d70042ff5da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28