diff options
Diffstat (limited to 't')
-rw-r--r-- | t/02create_pkgs.t | 2 |
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; |