summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-30 10:42:48 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-05-01 00:35:26 +0200
commita3e08228baf11b5ecaf4d3fec145f55f54673fc6 (patch)
treed1ee0c7ee5a256b6f7896ea6663296614f5e4486 /t
parent3c32b4be2cc7ab6a04a0fd6240258e76ce1a825e (diff)
downloadurpmi-a3e08228baf11b5ecaf4d3fec145f55f54673fc6.tar
urpmi-a3e08228baf11b5ecaf4d3fec145f55f54673fc6.tar.gz
urpmi-a3e08228baf11b5ecaf4d3fec145f55f54673fc6.tar.bz2
urpmi-a3e08228baf11b5ecaf4d3fec145f55f54673fc6.tar.xz
urpmi-a3e08228baf11b5ecaf4d3fec145f55f54673fc6.zip
replace "xxx\"xxx" with qq(xxx"xxx): no need to escape <">
Diffstat (limited to 't')
-rw-r--r--t/02create_pkgs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02create_pkgs.t b/t/02create_pkgs.t
index cbb562c5..d585209f 100644
--- a/t/02create_pkgs.t
+++ b/t/02create_pkgs.t
@@ -91,7 +91,7 @@ sub rpmbuild {
my $extra_args = $target ? "--target $target" : '';
# unsetting %__os_install_post fixes failure to build on FreeBSD:
$extra_args .= " --define '__os_install_post %nil'";
- $extra_args .= " --define 'rpm_version %(rpm -q --queryformat \"%{VERSION}\" rpm|sed -e \"s/\\\\.//g\")' ";
+ $extra_args .= qq( --define 'rpm_version %(rpm -q --queryformat "%{VERSION}" rpm|sed -e "s/\\\\.//g")' );
# some FreeBSD CPAN smokers sometimes fails with:
# error: Couldn't exec /usr/local/lib/rpm/elfdeps: No such file or directory
$extra_args .= " --define '__elf_provides %nil' --define '__elf_requires %nil'" if $is_bsd;