Skip to contentSkip to conversation

clamav: fixup improper quoting

PATCH In review Mark Asselstine 2 participants 2 messages Oct 11, 2016 – Oct 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clamav: fixup improper quoting

Commit 217e06badb146539122732ab0eb27fd17cce09e5 [clamav: fix gcc 6.x build failure.] fixed a typo in "PACKAGECONFIG" (was missing the 'G') but unfortunately the PACKAGECONFIG string was incorrectly formed due to mismatched quotes. This caused a parsing error:

ERROR: Unable to parse .../meta-security/recipes-security/clamav/clamav_0.99.2.bb
...

Removed the unneeded quotes to fix the parsing issue.

---
 recipes-security/clamav/clamav_0.99.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/clamav/clamav_0.99.2.bb +1 -1
index a2bab6d..3e5f36c 100644
@@ -54,7 +54,7 @@ PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}/usr, --without-open
 PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_DIR_HOST}/usr, --without-zlib, zlib, "
 PACKAGECONFIG[bz2] = "--with-libbz2-prefix=${STAGING_LIBDIR}/.., --without-libbz2-prefix, "
 PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/.., --without-libncurses-prefix, ncurses, "
-PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', "
+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, "
 
 EXTRA_OECONF += " --with-user=${UID}  --with-group=${GID} \
             --without-libcheck-prefix --disable-unrar \
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Mark Asselstine

Commit 217e06badb146539122732ab0eb27fd17cce09e5 [clamav: fix gcc 6.x build failure.] fixed a typo in "PACKAGECONFIG" (was missing the 'G') but unfortunately the PACKAGECONFIG string was incorrectly formed due to mismatched quotes. This caused a parsing error:

ERROR: Unable to parse .../meta-security/recipes-security/clamav/clamav_0.99.2.bb

merged.

Thanks,
Armin

Quoted 22 lines
   ...

Removed the unneeded quotes to fix the parsing issue.

---
  recipes-security/clamav/clamav_0.99.2.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/clamav/clamav_0.99.2.bb +1 -1
index a2bab6d..3e5f36c 100644
@@ -54,7 +54,7 @@ PACKAGECONFIG[openssl] = "--with-openssl=${STAGING_DIR_HOST}/usr, --without-open
  PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_DIR_HOST}/usr, --without-zlib, zlib, "
  PACKAGECONFIG[bz2] = "--with-libbz2-prefix=${STAGING_LIBDIR}/.., --without-libbz2-prefix, "
  PACKAGECONFIG[ncurses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/.., --without-libncurses-prefix, ncurses, "
-PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', "
+PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/, --without-systemdsystemunitdir, "
 
  EXTRA_OECONF += " --with-user=${UID}  --with-group=${GID} \
              --without-libcheck-prefix --disable-unrar \