Changeset 433


Ignore:
Timestamp:
May 8, 2008, 2:45:47 AM (11 years ago)
Author:
bruno
Message:

Fix a bug in the generation of the conf files for repository

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r429 r433  
    892892            # Also make a pbscript to generate yum/urpmi bases
    893893            print PBS << "EOF";
     894#!/bin/bash
    894895# Prepare a script to ease yum setup
    895896cat > $ENV{'PBPROJ'}.repo << EOT
    896897[$ENV{'PBPROJ'}]
    897898name=$ddir $dver - $ENV{'PBPROJ'} Vanilla Packages
    898 baseurl=$pbrepo->{'PBPROJ'}/$repodir
     899baseurl=$pbrepo->{$ENV{'PBPROJ'}}/$repodir
    899900enabled=1
    900901gpgcheck=0
     
    914915# Prepare a script to ease urpmi setup
    915916cat > $ENV{'PBPROJ'}.addmedia << EOT
    916 urpmi.addmedia $ENV{'PBPROJ'} $pbrepo->{'PBPROJ'}/$repodir with hdlist.cz
     917urpmi.addmedia $ENV{'PBPROJ'} $pbrepo->{$ENV{'PBPROJ'}}/$repodir with hdlist.cz
    917918EOT
    918919chmod 755 $ENV{'PBPROJ'}.addmedia
Note: See TracChangeset for help on using the changeset viewer.