Projet

Général

Profil

Révision 92e7aaf8

ID92e7aaf801d1bf4b357a406027bf0729cf0f9035
Parent 23336966
Enfant 4ca52784, c4ed6e77

Ajouté par Stig Sandbeck Mathisen il y a environ 11 ans

relax bash regexp a bit, to allow for /usr/bin/env bash

Voir les différences:

t/test.t
56 56
        ok( check_file_with( [ 'ksh', '-n', $file ] ),
57 57
            $filename . " ksh syntax check" );
58 58
    }
59
    elsif ( $interpreter =~ m{/bin/bash} ) {
59
    elsif ( $interpreter =~ m{bash} ) {
60 60
        ok( check_file_with( [ 'bash', '-n', $file ] ),
61 61
            $filename . " bash syntax check" );
62 62
    }

Formats disponibles : Unified diff