group/update_version_h.pl
branchRCL_3
changeset 40 473321461bba
parent 38 9f4e37332ce5
child 41 e06095241a65
--- a/group/update_version_h.pl	Thu Aug 19 10:54:34 2010 +0300
+++ b/group/update_version_h.pl	Tue Aug 31 16:14:16 2010 +0300
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
+# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 # All rights reserved.
 # This component and the accompanying materials are made available
 # under the terms of "Eclipse Public License v1.0"
@@ -19,8 +19,8 @@
 use Cwd;
 use POSIX qw(strftime);
 
-my $PLATFORM_LONG = "4_2";
-my $PLATFORM_SHORT = "42";
+my $PLATFORM_LONG = "5_0";
+my $PLATFORM_SHORT = "50";
 
 sub update_version_h
 {
@@ -72,9 +72,14 @@
 }
 
 
+my $oldpwd = getcwd();
+chdir "..";
+
 ### VERSION.H ###########
 
 # version.h
 update_version_h(
-    '../vpnengine/vpncommon/inc/version.h',
+    'vpnengine/vpncommon/inc/version.h',
     $PLATFORM_LONG);
+
+chdir $oldpwd;