Permalink
Browse files

Simplify find expression, and remove tabs

  • Loading branch information...
Andy Chu
Andy Chu committed Mar 17, 2018
1 parent 3cfc21b commit 8addbf524d7fa9bc4c420be066911c03dca13bc2
Showing with 6 additions and 7 deletions.
  1. +3 −3 demo/virtualenv.sh
  2. +3 −4 test/lint.sh
View
@@ -16,16 +16,16 @@ create() {
}
under-bash() {
# You can see PS1 change here.
bash -i <<EOF
# You can see PS1 change here.
bash -i <<EOF
source $DIR/bin/activate
echo DONE
EOF
}
# Hm there seem to be multiple things that don't work here.
under-osh() {
bin/osh -i <<EOF
bin/osh -i <<EOF
source $DIR/bin/activate
echo DONE
EOF
View
@@ -61,10 +61,9 @@ bin-pep8() {
# Language independent
find-src() {
# benchmarks/testdata should be excluded
find . '(' -name _tmp \
-o -name _chroot \
-o -name _deps \
-o -name _devbuild \
# excluding _build, _devbuild. Although it might be OK to test generated
# code for tabs.
find . '(' -type d -a -name '_*' \
-o -name testdata \
-o -name $PY27 \
')' -a -prune \

0 comments on commit 8addbf5

Please sign in to comment.