Commit 7b5ca4cb by Xumeiquer

Update index_gen.sh with small optimization

parent b13fe612
......@@ -21,7 +21,7 @@ function gen_index {
AVOID="_?index.yara?|utils"
if [ x"$BASE" == x"." ]; then
if [ $INC_MOBILE == false ]; then
AVOID="_?index.yara?|utils|Mobile"
AVOID+="|Mobile"
fi
if [ $OS == "Darwin" ]; then
find -E $BASE -regex ".*\.yara?" | grep -vE "$AVOID" | awk '{print "include \"" $0 "\""}' >> $IDX_NAME
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment