Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rules
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
rules
Commits
7b5ca4cb
Commit
7b5ca4cb
authored
Oct 25, 2016
by
Xumeiquer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index_gen.sh with small optimization
parent
b13fe612
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
index_gen.sh
index_gen.sh
+1
-1
No files found.
index_gen.sh
View file @
7b5ca4cb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment