Change back to bootstrap dir after the build to allow removal of project dir
authorDario Sestito <darios@symbian.org>
Wed, 05 Aug 2009 15:33:06 +0100
changeset 37 2e0ebeeeaf52
parent 36 c2062b9445d0
child 38 6da50515cbeb
Change back to bootstrap dir after the build to allow removal of project dir
build_package.pl
--- a/build_package.pl	Wed Aug 05 11:30:28 2009 +0100
+++ b/build_package.pl	Wed Aug 05 15:33:06 2009 +0100
@@ -231,6 +231,9 @@
 print("hlm sf-build-all -Dsf.project.type=package $sSubProjArg -Dsf.spec.job.number=$nJobNumber -Dsf.spec.job.drive=$sDriveLetter: $sTestBuildOpt $sNoPublishOpt $sJobRootDirArg\n");
 system("hlm sf-build-all -Dsf.project.type=package $sSubProjArg -Dsf.spec.job.number=$nJobNumber -Dsf.spec.job.drive=$sDriveLetter: $sTestBuildOpt $sNoPublishOpt $sJobRootDirArg");
 
+print("cd $sBOOTSTRAP_DIR\n");
+chdir("$sBOOTSTRAP_DIR");
+
 # release the drive letter
 release_drive_letter($sDriveLetter);
 system("subst $sDriveLetter: /d"); # this is not required, but it's a good idea to keep things in order