Skip to content

Commit

Permalink
autogen: Handle case when libvirt's submodule
Browse files Browse the repository at this point in the history
Currently, in the autogen.sh script we check whether .git is an existing
directory in which case bootstrap is run. However, if libvirt is a
submodule, then the .git is just a file (with reference to the topmost
.git directory). However, our submodule routines work well. So there's
no real reason why we should prohibit users to build libvirt from
submodule.
  • Loading branch information
zippy2 committed Jul 19, 2013
1 parent d21d40b commit 5cfe0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bootstrap_hash()
# like to run 'git clean -x -f po' to fix it; but only ./bootstrap regenerates
# the required file po/Makevars.
# Only run bootstrap from a git checkout, never from a tarball.
if test -d .git; then
if test -d .git || -f .git; then
curr_status=.git-module-status t=
if test "$no_git"; then
t=no-git
Expand Down

0 comments on commit 5cfe0d3

Please sign in to comment.