summaryrefslogtreecommitdiffstats
path: root/docs/manual/adding-packages-perl.txt
diff options
context:
space:
mode:
authorGaël PORTAY <gael.portay@savoirfairelinux.com>2018-02-22 17:49:04 -0500
committerPeter Korsgaard <peter@korsgaard.com>2018-03-30 18:49:15 +0200
commit36718c0f99be2709ee8cc52f24dcafed4f5cc36a (patch)
treeeb6f1df269e6f445267edaab902fda957c392ec3 /docs/manual/adding-packages-perl.txt
parentfe8c2831239eae57dc2fb9223fed6158c581979c (diff)
downloadbuildroot-36718c0f99be2709ee8cc52f24dcafed4f5cc36a.tar.gz
buildroot-36718c0f99be2709ee8cc52f24dcafed4f5cc36a.zip
pkgconf: pkg-config.in: double quote $@
The shell expands "$@" as "$1" "$2" "$3"... while it expands $@ as $1 $2 $3. With the second form, we loses spaces in positional parameters. As example, the following call pkg-config --cflags "one two" three is wrapped as pkgconf --cflags one two three while we are expecting pkgconf --cflags "one two" three "$@" is really useful when writing wrappers. It passes the positional arguments *as* they are given. Double quote $@ to prevent from splitting elements. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit cc526b428bb6f1e35ce9165f94e6f2fd306a37c7) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual/adding-packages-perl.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud