mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-08 12:36:10 +08:00
更新diy命令参数识别
This commit is contained in:
parent
5b874befb8
commit
44addb6ff3
|
@ -46,7 +46,10 @@ rand(){
|
||||||
function addnewcron {
|
function addnewcron {
|
||||||
addname=""
|
addname=""
|
||||||
cd ${diyscriptsdir}/${author}_${repo}
|
cd ${diyscriptsdir}/${author}_${repo}
|
||||||
express=$(find . -name "*.js" | egrep $path)
|
express=$(find . -name "*.js")
|
||||||
|
if [ $path ];then
|
||||||
|
express=$(find . -name "*.js" | egrep $path)
|
||||||
|
fi
|
||||||
if [ $blackword ];then
|
if [ $blackword ];then
|
||||||
express=$(find . -name "*.js" | egrep -v $blackword | egrep $path)
|
express=$(find . -name "*.js" | egrep -v $blackword | egrep $path)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user