Update contrib.
1 # Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
3 # This component and the accompanying materials are made available
4 # under the terms of the License "Eclipse Public License v1.0"
5 # which accompanies this distribution, and is available
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 # Initial Contributors:
9 # Nokia Corporation - initial contribution.
14 # Called from MNT.BAT to do some PVCS stuff.
22 Usage: lock.pl <rune1> <rune2>
24 Basically, only call this from mnt.bat
31 open(X, "/E32TEST/group/dir.prj") || die "Can't find the directory list, $!";
49 if(-e "locktmp.bat") {
53 open(X, ">locktmp.bat") || die "Can't create file $!";
54 print X "\@echo off\n";
55 print X "\@call cont E32TEST %1\n";
56 print X "\@call $ARGV[0] li.prj $ARGV[1]\n";
59 foreach (grep /\w/, @dirs) {
60 system("locktmp.bat $_");