diff options
author | Michael Scherer <misc@mandriva.com> | 2005-12-12 15:51:12 +0000 |
---|---|---|
committer | Michael Scherer <misc@mandriva.com> | 2005-12-12 15:51:12 +0000 |
commit | 1ed4dbbbcaf53910e526b9257ca495851b4e86a3 (patch) | |
tree | cc56f502c62fa9e2526ee1d7ac1b56876dbb99ea | |
parent | ae2f711331cbbb7f441e485b2b6e75155dc90b61 (diff) | |
download | bootsplash-1ed4dbbbcaf53910e526b9257ca495851b4e86a3.tar bootsplash-1ed4dbbbcaf53910e526b9257ca495851b4e86a3.tar.gz bootsplash-1ed4dbbbcaf53910e526b9257ca495851b4e86a3.tar.bz2 bootsplash-1ed4dbbbcaf53910e526b9257ca495851b4e86a3.tar.xz bootsplash-1ed4dbbbcaf53910e526b9257ca495851b4e86a3.zip |
- use shell_quote for installbuildrequires and execafterbuild
-rwxr-xr-x | rpmbuildupdate | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmbuildupdate b/rpmbuildupdate index ac7f7fd..adb5f78 100755 --- a/rpmbuildupdate +++ b/rpmbuildupdate @@ -35,6 +35,7 @@ use Cwd; use File::Spec; use File::Path; use RPM4; +use String::ShellQuote; my %config; @@ -218,7 +219,7 @@ sub build { my @requires = split(/\s+/, $hdlist_spec->srcheader->queryformat("[%{requires} ]")); print "===> Installing BuildRequires : @requires\n"; - system("$config{installbuildrequires} @requires"); + system("$config{installbuildrequires} " . shell_quote @requires); }; if (! defined($newversion)) { @@ -456,7 +457,7 @@ sub build { -f $_ or next; push(@rpms_upload, $_); } - system("$config{execafterbuild} @rpms_upload"); + system("$config{execafterbuild} " . shell_quote @rpms_upload); } } |