Changeset 1632 in ProjectBuilder


Ignore:
Timestamp:
Jun 5, 2012, 4:42:32 AM (12 years ago)
Author:
Bruno Cornec
Message:

r4917@localhost: bruno | 2012-06-05 03:28:40 +0200

  • When used the env command should be passed in full path for sudo and then not skipped
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1631 r1632  
    43104310    # remove sudo and leading spaces
    43114311    $c =~ s/^\s*sudo\s+//;
    4312     # skip potential env var setup
    4313     $c =~ s/^\s*[\S]*env\s+\S+=\S+\s+//;
    43144312    # keep only the command, not the params
    43154313    $c =~ s/([^\s]+)\s.*$/$1/;
Note: See TracChangeset for help on using the changeset viewer.