forked from openkylin/platform_build
godir search should ignore .repo directory
This commit is contained in:
parent
2f091860d8
commit
259e5b7a94
|
@ -988,7 +988,7 @@ function godir () {
|
||||||
T=$(gettop)
|
T=$(gettop)
|
||||||
if [[ ! -f $T/filelist ]]; then
|
if [[ ! -f $T/filelist ]]; then
|
||||||
echo -n "Creating index..."
|
echo -n "Creating index..."
|
||||||
(cd $T; find . -wholename ./out -prune -o -type f > filelist)
|
(cd $T; find . -wholename ./out -prune -o -wholename ./.repo -prune -o -type f > filelist)
|
||||||
echo " Done"
|
echo " Done"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue