From: <car...@us...> - 2012-09-20 14:11:22
|
Revision: 11058 http://octave.svn.sourceforge.net/octave/?rev=11058&view=rev Author: carandraug Date: 2012-09-20 14:11:11 +0000 (Thu, 20 Sep 2012) Log Message: ----------- copyright_fix.pl: check if path was given and warn otherwise Modified Paths: -------------- trunk/octave-forge/admin/copyright_fix.pl Modified: trunk/octave-forge/admin/copyright_fix.pl =================================================================== --- trunk/octave-forge/admin/copyright_fix.pl 2012-09-19 22:21:29 UTC (rev 11057) +++ trunk/octave-forge/admin/copyright_fix.pl 2012-09-20 14:11:11 UTC (rev 11058) @@ -240,4 +240,8 @@ if ($verbose) { say "Added copyright notice to '$_'"; } } -find(\&fix, @ARGV); # this call does all the recursive work +if (@ARGV) { + find(\&fix, @ARGV); # this call does all the recursive work +} else { + warn ("No path was specified, no changes were made"); +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |