Revision d7640a0d arch-scripts/grep_xseg.sh
b/arch-scripts/grep_xseg.sh | ||
---|---|---|
23 | 23 |
red_echo "No parameters given." |
24 | 24 |
exit 1 |
25 | 25 |
elif [[ $1 = "-m" ]]; then |
26 |
INCLUDE="--include=Makefile --include=*.mk" |
|
26 |
INCLUDE="--include=Makefile --include=*.mk --include=envsetup"
|
|
27 | 27 |
shift |
28 | 28 |
fi |
29 | 29 |
|
... | ... | |
31 | 31 |
# Grep XSEG # |
32 | 32 |
############# |
33 | 33 |
|
34 |
grep -RIni --exclude-dir=${XSEG}/sys/user/python --exclude=test.c \ |
|
35 |
${INCLUDE} --color=always -e $1 ${XSEG} | \ |
|
34 |
grep -RIni --color=always ${INCLUDE} \ |
|
35 |
--exclude-dir=python \ |
|
36 |
-e $1 ${XSEG} | \ |
|
36 | 37 |
sed 's/'$SED_XSEG'//' |
38 |
|
Also available in: Unified diff