Changeset 1708


Ignore:
Timestamp:
Mar 8, 2013, 4:51:37 PM (5 years ago)
Author:
bruno
Message:
  • Fix a parallel issue for setupv (and others) where the file created wasn't unique and thus overwritten by next call.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/bin/pb

    r1704 r1708  
    28742874    }
    28752875
    2876     print SCRIPT q{echo "********** Successful exit of script $$ *********************"}, "\n";
     2876    print SCRIPT q{echo "********** Successful exit of script $$ for $v *********************"}, "\n";
    28772877    close(SCRIPT);
    28782878    chmod 0755,"$ENV{'PBDESTDIR'}/pbscript.$$";
     
    30713071
    30723072# Script generated
    3073 my $pbscript = "$ENV{'PBDESTDIR'}/setupv";
     3073my $pbscript = "$ENV{'PBDESTDIR'}/setupv.$$";
    30743074
    30753075# Adapt // mode to memory size
     
    35573557
    35583558# Script generated
    3559 my $pbscript = "$ENV{'PBDESTDIR'}/snapv";
     3559my $pbscript = "$ENV{'PBDESTDIR'}/snapv.$$";
    35603560
    35613561my ($pbac) = pb_conf_get($vtype."login");
     
    35983598
    35993599# Script generated
    3600 my $pbscript = "$ENV{'PBDESTDIR'}/updatev";
     3600my $pbscript = "$ENV{'PBDESTDIR'}/updatev.$$";
    36013601
    36023602my ($pbac) = pb_conf_get($vtype."login");
Note: See TracChangeset for help on using the changeset viewer.