Changeset 21340


Ignore:
Timestamp:
12/14/09 12:45:08 (11 years ago)
Author:
kjdon
Message:

corrected jpg regex

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/pharos-imageis/trunk/bin/script/pharos-imageis-add.pl

    r21299 r21340  
    6363    }
    6464   
    65     if ( $srcfilename !~ m/\.je?pg$/i ) {
     65    if ( $srcfilename !~ m/\.jpe?g$/i ) {
    6666    print STDERR "Error: Unrecognized JPEG filename extension\n";
    6767    exit 1;
     
    8585    $tmp_dir = &util::filename_cat($tmp_dir,"pharos-imageis");
    8686    if (! -d $tmp_dir) {
    87     &util::mk_dir($tmp_dir);
     87    &util::mk_all_dir($tmp_dir);
    8888    }
    8989    my $dstfilename=&util::filename_cat($tmp_dir,$dstfile);
Note: See TracChangeset for help on using the changeset viewer.