Changeset 982 in ProjectBuilder for devel/rpmbootstrap


Ignore:
Timestamp:
Feb 19, 2010, 5:30:20 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • Fix variable substitution which was too aggressive in pb_distro_get_param
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/rpmbootstrap/bin/rpmbootstrap

    r981 r982  
    192192
    193193#
    194 # Check for command requirements
    195 #
    196 my ($req,$opt) = pb_conf_get_if("oscmd","oscmdopt");
    197 pb_check_requirements($req->{$appname},$opt->{$appname});
    198 
    199 #
    200194# Check target dir
    201195# Create if not existent and use default if none given
     
    203197pb_env_init_pbrc(); # to get content of HOME/.pbrc
    204198my $vepath = shift @ARGV;
     199
     200#
     201# Check for command requirements
     202#
     203my ($req,$opt) = pb_conf_get_if("oscmd","oscmdopt");
     204my ($req2,$opt2) = (undef,undef);
     205$req2 = $req->{$appname} if (defined $req);
     206$opt2 = $opt->{$appname} if (defined $opt);
     207pb_check_requirements($req2,$opt2);
    205208
    206209if (not defined $vepath) {
Note: See TracChangeset for help on using the changeset viewer.