diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rwxr-xr-x | newplugin | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -7807,3 +7807,4 @@ Video Disk Recorder Revision History - Fixed no longer generating any editing marks if the edited recording results in just one single sequence. - Fixed an error message when parsing SCR values in diseqc.conf. +- Fixed an unexpected RCS version tag in the newplugin script. @@ -12,7 +12,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: newplugin 2.17 2013/01/12 13:46:00 kls Exp $ +# $Id: newplugin 2.17.1.1 2013/05/02 10:04:06 kls Exp $ $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n"; @@ -352,8 +352,8 @@ The next steps you should perform now are: sub CreateFile { - my ($Name, $Content) = @_; - open(FILE, ">$PLUGINDIR/$Name") || die "$Name: $!\n"; + my ($FileName, $Content) = @_; + open(FILE, ">$PLUGINDIR/$FileName") || die "$FileName: $!\n"; print FILE $Content; close(FILE); } |