comment fixes, ignore leading spaces in harness

This commit is contained in:
hummypkg 2015-10-18 10:50:02 +00:00
parent 1feeb15d7e
commit 3a6386c2d2
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
Package: sweeper
Priority: optional
Section: misc
Version: 2.0.13
Version: 2.0.13-1
Architecture: mipsel
Maintainer: af123@hummypkg.org.uk
Depends: webif(>=1.2.5)

View File

@ -28,7 +28,7 @@ proc register {args} {}
proc scan_run {dir flag callback} {
global dustbin
if {[string match {\[*} [file tail $dir]]} return
if {[string match {\[*} [string trimleft [file tail $dir]]]} return
if {[file exists "$dir/.$flag"]} { $callback $dir }

View File

@ -304,13 +304,13 @@ var schema = {
lock: {
'class': 'all',
argtype: 'none',
desc: 'Lock recordings',
desc: 'Lock recording',
continues: true
},
unlock: {
'class': 'all',
argtype: 'none',
desc: 'Unlock recordings',
desc: 'Unlock recording',
continues: true
},
flag: {
@ -328,7 +328,7 @@ var schema = {
'delete': {
'class': 'all',
argtype: 'none',
desc: 'Delete recordings',
desc: 'Delete recording',
continues: false
}
}