Changeset 27509 for main/trunk/greenstone2/perllib/util.pm
- Timestamp:
- 2013-05-29T20:41:13+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r27374 r27509 27 27 28 28 use strict; 29 use FileUtils; 29 30 30 31 use Encode; … … 238 239 239 240 $tmp_dirname = &FileUtils::filenameConcatenate($tmp_dirname, "tmp"); 240 & util::mk_dir($tmp_dirname) if (!-e $tmp_dirname);241 &FileUtils::makeDirectory($tmp_dirname) if (!-e $tmp_dirname); 241 242 242 243 # add the timestamp into the path otherwise we can run into problems … … 250 251 $i++; 251 252 } 252 & util::mk_dir($tmp_dirname);253 &FileUtils::makeDirectory($tmp_dirname); 253 254 254 255 return $tmp_dirname;
Note:
See TracChangeset
for help on using the changeset viewer.