Gentoo Archives: gentoo-dev

From: Krzysiek Pawlik <nelchael@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] repoman and checking for correct quoting
Date: Sat, 10 Nov 2007 10:56:23
Message-Id: 47358D39.8050901@gentoo.org
1 Consider following part of scite-1.74.ebuild:
2
3 sed -i makefile \
4 -e 's#usr/local#usr#g' \
5 -e 's#/gnome/apps/Applications#/applications#' \
6 -e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
7 -e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
8 -e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
9 -e 's#${D}##' \
10 -e 's#-g root#-g 0#' \
11 || die "error patching makefile"
12
13 `repoman full' catches line "-e 's#${D}##' \":
14
15 app-editors/scite/scite-1.74.ebuild: Unquoted Variable on line: 41
16
17 It's purpose is to remove the ${D} from makefile, additionally ${D} is in single
18 quotes, so it will not be expanded - is it a bug in repoman check?
19
20 --
21 Krzysiek Pawlik <nelchael at gentoo.org> key id: 0xBC555551
22 desktop-misc, desktop-dock, x86, java, apache, ppc...

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] repoman and checking for correct quoting Zac Medico <zmedico@g.o>
Re: [gentoo-dev] repoman and checking for correct quoting "Bo Ørsted Andresen" <bo.andresen@××××.dk>