commit | fb9f2a04f33a22d90bc80a68347b9f093c484c4a | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Apr 03 18:37:07 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Apr 03 18:47:04 2015 +0200 |
tree | 42fd9e2b7861ee4748309d767d04912012f7bf1d | |
parent | f7d945f4eb287a6030e6a590f15513d38b345fb6 [diff] |
Fix include lines in rename.pl
diff --git a/tmp/rename.pl b/tmp/rename.pl index 4d1854c..f06647c 100755 --- a/tmp/rename.pl +++ b/tmp/rename.pl
@@ -50,6 +50,13 @@ my @out; for my $line (@lines) { + if( $line =~ /#include/ ) { + $line =~ s/polarssl/mbedtls/; + $line =~ s/POLARSSL/MBEDTLS/; + push( @out, $line ); + next; + } + my @words = ($line =~ /$token/g); my $checkline = join '', @words; if( $checkline eq $line ) {