Skip to content

Commit

Permalink
buildsys: Fix dist-test-cases
Browse files Browse the repository at this point in the history
It was broken by universal-ctags#2206.
  • Loading branch information
k-takata committed Oct 7, 2019
1 parent 34185f5 commit 867c262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/dist-test-cases
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ print_m4_header()
make_am_sub_with_git ()
{
sub_d=$1
sub_f
sub_f=

print_am_header
echo "EXTRA_DIST ="
Expand All @@ -55,7 +55,7 @@ make_am_with_git ()
echo "EXTRA_DIST ="
echo

for d in $(git ls-files | grep ${git_top} | sed -n -e 's|^\(^'${git_top}'/[^/]\+\)\(/.*\)\?|\1|p' | sort | uniq); do
for top_d in $(git ls-files | grep ${git_top} | sed -n -e 's|^\(^'${git_top}'/[^/]\+\)\(/.*\)\?|\1|p' | sort | uniq); do
if [ -d "${top_d}" ]; then
echo "DIST_SUBDIRS +=" $(basename "${top_d}")
make_am_sub_with_git ${top_d} > ${top_d}/Makefile.am
Expand Down

0 comments on commit 867c262

Please sign in to comment.