pck-update: infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems when the URL contains the letter '&'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
58cae7acea
commit
5d684cd01a
@ -37,6 +37,12 @@ Changes in version 1.12.6
|
|||||||
* Makefile - Davide Madrisan:
|
* Makefile - Davide Madrisan:
|
||||||
Make 'make dist' a bit more verbose.
|
Make 'make dist' a bit more verbose.
|
||||||
|
|
||||||
|
+ bugfix
|
||||||
|
* plugins/pck-update.in - Davide Madrisan:
|
||||||
|
infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems
|
||||||
|
when the URL contains the letter '&'.
|
||||||
|
(Problem pointed out by Silvan Calarco.)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.12.5
|
Changes in version 1.12.5
|
||||||
|
@ -536,7 +536,10 @@ done))
|
|||||||
SPEC_FILENAME=\"$SPEC_FILENAME\"
|
SPEC_FILENAME=\"$SPEC_FILENAME\"
|
||||||
SPEC_URL=\"$SPEC_URL\"
|
SPEC_URL=\"$SPEC_URL\"
|
||||||
SPEC_PATCH=(${SPEC_PATCH[*]})
|
SPEC_PATCH=(${SPEC_PATCH[*]})
|
||||||
SPEC_SOURCE=(${SPEC_SOURCE[*]})
|
SPEC_SOURCE=(\
|
||||||
|
$(for i in `seq 1 1 ${#SPEC_SOURCE[*]}`; do
|
||||||
|
echo -n "\"${SPEC_SOURCE[i-1]}\" "
|
||||||
|
done))
|
||||||
SPEC_LICENSE=(\
|
SPEC_LICENSE=(\
|
||||||
$(for i in `seq 1 1 ${#SPEC_LICENSE[*]}`; do
|
$(for i in `seq 1 1 ${#SPEC_LICENSE[*]}`; do
|
||||||
echo -n "\"${SPEC_LICENSE[i-1]}\" "
|
echo -n "\"${SPEC_LICENSE[i-1]}\" "
|
||||||
|
Loading…
Reference in New Issue
Block a user