File: buildIncr.pl

package info (click to toggle)
libraw 0.19.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,396 kB
  • sloc: cpp: 39,147; ansic: 23,363; perl: 145; makefile: 87; sh: 77
file content (12 lines) | stat: -rwxr-xr-x 183 bytes parent folder | download | duplicates (5)
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";