File: buildIncr.pl

package info (click to toggle)
libraw 0.16.0-9%2Bdeb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 8,096 kB
  • ctags: 4,565
  • sloc: cpp: 23,318; sh: 11,432; ansic: 10,526; makefile: 90; perl: 9
file content (12 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl

open F,"libraw_build.h";
$l1 = <F>;
$l2 = <F>;
$l3 = <F>;

@a = split(/\s+/,$l2);
$a[2]++;
$l2 = "$a[0] $a[1] $a[2]\n";
open F,">libraw_build.h";
print F "$l1$l2$l3";