mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
98_svn.pm: execute svn commands from fhem commandline
git-svn-id: https://svn.fhem.de/fhem/trunk@11079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d5f8e5c098
commit
adc1004da8
20
fhem/contrib/98_svn.pm
Normal file
20
fhem/contrib/98_svn.pm
Normal file
@ -0,0 +1,20 @@
|
||||
# $Id$
|
||||
#
|
||||
package main;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
sub CommandSvn;
|
||||
|
||||
sub svn_Initialize($$) {
|
||||
my %hash = ( Fn => "CommandSvn", Hlp => "[<command>],execute svn commands)" );
|
||||
$cmds{svn} = \%hash;
|
||||
}
|
||||
|
||||
sub CommandSvn {
|
||||
my ($cl, $arg) = @_;
|
||||
return qx(svn $arg);
|
||||
}
|
||||
|
||||
|
||||
1;
|
Loading…
x
Reference in New Issue
Block a user