Changeset 27177 for gs2-extensions
- Timestamp:
- 2013-04-14T22:12:10+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/parallel-building/trunk/src/perllib/dbutil/gdbmserver.pm
r24681 r27177 55 55 { 56 56 my ($infodb_file_path) = @_; 57 58 my $tmp_dir = &util::filename_cat($ENV{'GSDLHOME'},'tmp'); 59 if (! &util::dir_exists($tmp_dir)) { 60 &util::mk_dir($tmp_dir,1); 61 } 62 63 57 64 # 1. Check whether the server is already running by trying to locate the 58 65 # server 'lock' file. … … 66 73 flock(TMPFH, LOCK_EX) or die("Error! Cannot lock file exclusively: " . $tmp_lockfile_path . "\nReason: " . $! . "\n"); 67 74 print TMPFH localtime(); 75 68 76 # - If the file doesn't exist... 69 77 if (!-e $server_lockfile_path)
Note:
See TracChangeset
for help on using the changeset viewer.