Skip to content

Commit

Permalink
Allow tagline in config instead of hard-coding $CERT
Browse files Browse the repository at this point in the history
Other people wouldn't want my $CERT ....

Signed-off-by: Neil Brown <[email protected]>
  • Loading branch information
neilbrown committed Jun 13, 2006
1 parent 9edfa92 commit 74a9b5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions p
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,16 @@ swap_one()
mv "$1.tmp" ".patches/current/$1"
}

CERT='Signed-off-by: Neil Brown <[email protected]>'
make_diff()
{
get_conf tagline
upgrade_one "$1"
{
[ -s .patches/status ] && echo "Status: `cat .patches/status`"
[ -s .patches/notes ] && { echo; cat .patches/notes ; }
if grep -F "$CERT" .patches/notes > /dev/null 2>&1
if [ -z "$tagline" ] || grep -F "$tagline" .patches/notes > /dev/null 2>&1
then :
else echo "$CERT"
else echo "$tagline"
fi
echo
all_files diff_one $1 > .patches/tmp
Expand Down

0 comments on commit 74a9b5a

Please sign in to comment.