Commits

camlspotter committed 4aac2cb

copyright fix

  • Participants
  • Parent commits d0e75b7
  • Branches dev

Comments (0)

Files changed (2)

 (*   described in file LICENSE.                                        *)
 (*                                                                     *)
 (***********************************************************************)
-

File tools/putcopy

 
 # exec in camlimages directory
 
-open(IN, "find . -name '*.ml' -o -name '*.mli' -o -name '*.ml.in' -o -name '*.mli.in' -o -name '*.c' | grep -v \.hg |");
+open(IN, "find . -name '*.ml' -o -name '*.mli' -o -name '*.ml.in' -o -name '*.mli.in' -o -name '*.c' | grep -v \.hg | grep -v tests/ |");
 
 while(<IN>){
     chop;
 	while(<IN2>){ print OUT $_; }
 	close IN2;
 	close OUT;
-	`mv $file $file.bak`;
+	# `mv $file $file.bak`;
 	`mv $file.out $file`;
     } else {
 	# we have no copyright notice
 	while(<IN2>){ print OUT $_; }
 	close IN2;
 	close OUT;
-	`mv $file $file.bak`;
+	# `mv $file $file.bak`;
 	`mv $file.out $file`;
     }
 }