Makefiles were changed a while ago to avoid parallel invocation at the
source, and this protections are useless and dangerous on some broken
NFS, for example.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9427
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
#! /usr/bin/perl
use strict;
#! /usr/bin/perl
use strict;
use strict;
use Getopt::Long qw(GetOptions);
use strict;
use Getopt::Long qw(GetOptions);
-open SELF, "< $0" or die "Cannot open the lock file";
-if (!flock SELF, LOCK_EX | LOCK_NB) {
- print STDERR "sg_unit_extractor already running. Cancelling...\n";
- exit;
-}
-
my $progname="sg_unit_extractor";
# Get the args
my $progname="sg_unit_extractor";
# Get the args