Changeset 839 in ProjectBuilder for devel


Ignore:
Timestamp:
Aug 20, 2009, 3:23:23 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds option support for pbdistrocheck (-v and -d)
  • Fix a bug on pbvi/pbg for function having binary in their name
Location:
devel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/bin/pbdistrocheck

    r756 r839  
    1717my %opts;                   # CLI Options
    1818
    19 GetOptions("verbose|v+" => \$opts{'v'});
     19GetOptions(
     20        "verbose|v+" => \$opts{'v'},
     21        "description|d" => \$opts{'d'}
     22);
    2023if (defined $opts{'v'}) {
    2124    $pbdebug = $opts{'v'};
     
    2932
    3033my ($ddir, $dver, $dfam, $dtype, $pbsuf, $pbupd, $arch) = pb_distro_init();
    31 print "distro tuple: ".join(',',($ddir, $dver, $dfam, $dtype, $pbsuf, $pbupd, $arch))."\n";
     34if (defined $opts{'d'}) {
     35    print "\u$ddir $dver\n";
     36} else {
     37    print "distro tuple: ".join(',',($ddir, $dver, $dfam, $dtype, $pbsuf, $pbupd, $arch))."\n";
     38}
  • devel/pb/bin/pbg

    r292 r839  
    11#!/bin/bash
    22export LANGUAGE=C
    3 egrep -r $* . | egrep -v '\.svn|~:|binary|/CVS/|/tags/'
     3egrep -r $* . | egrep -v '\.svn|~:|\tbinary\t|/CVS/|/tags/'
  • devel/pb/bin/pbvi

    r230 r839  
    11#!/bin/bash
    22export LANGUAGE=C
    3 gvim `egrep -r $* . | egrep -vi '\.svn|~:|binary|/CVS/' | cut -d: -f1 | sort -u`
     3gvim `egrep -r $* . | egrep -vi '\.svn|~:|\tbinary\t|/CVS/' | cut -d: -f1 | sort -u`
Note: See TracChangeset for help on using the changeset viewer.