diff options
Diffstat (limited to 'project')
-rwxr-xr-x | project/pydist.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/pydist.sh b/project/pydist.sh index 27c3520..26701d0 100755 --- a/project/pydist.sh +++ b/project/pydist.sh @@ -41,7 +41,7 @@ cpvar=$(printf '\tcp -p $(%s:%s.py=%s.pyc)' 'PYDIST_SYSCFG_SRCS' '%' '%') printf '%-68s$(DESTDIR)/$(LIBDIR)/$(PACKAGE)\n' "$cpvar" >> $pypycs for pydir in $pydirs; do - if [ $(find "$pydir" -name '*.py' | wc -l) != '0' ]; then + if [ $(find "$pydir" -maxdepth 1 -name '*.py' | wc -l) != '0' ]; then pyvar=$(printf "PYDIST_%s_SRCS" $pydir \ | sed -e 's@\_\.@@g' -e 's@/@_@g' -e 's@-@_@g' \ | tr "[:lower:]" "[:upper:]") |