[Midnightbsd-cvs] mports: magus.pl: when the script reloads itself, reload the version
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Thu Sep 11 18:49:30 EDT 2008
Log Message:
-----------
when the script reloads itself, reload the version from the magus mports tree
Modified Files:
--------------
mports/Tools/magus/slave:
magus.pl (r1.22 -> r1.23)
-------------- next part --------------
Index: magus.pl
===================================================================
RCS file: /home/cvs/mports/Tools/magus/slave/magus.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -L Tools/magus/slave/magus.pl -L Tools/magus/slave/magus.pl -u -r1.22 -r1.23
--- Tools/magus/slave/magus.pl
+++ Tools/magus/slave/magus.pl
@@ -47,7 +47,7 @@
$SIG{INT} = sub { report('info', "$$: caught sigint"); die "Caught SIGINT $$\n" };
my @origARGV = @ARGV;
-my $self = '/usr/mports/Tools/magus/slave/magus.pl';
+my $self = "$Magus::Config{SlaveMportsDir}/Tools/magus/slave/magus.pl";
my $Lock;
my $WorkerID = 1;
More information about the Midnightbsd-cvs
mailing list