diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-30 15:03:41 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-30 15:03:41 +0100 |
commit | f20f25a1c017c58d5d7dfffc6e9adc8d31879152 (patch) | |
tree | 9d93b859c06fb9092f4358e790de2b6be6bc4a49 | |
parent | 774983dc360f6402398ffa5da64bddbae98d1bad (diff) | |
download | util-image-f20f25a1c017c58d5d7dfffc6e9adc8d31879152.tar.gz |
Revert "Check submodules before running autoconf."baserock/0.4.0
This reverts commit 2eb581ab2f90fbcea878f5696da3e1d7acad3c58.
-rwxr-xr-x | autogen.sh | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -6,21 +6,6 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd $srcdir -# If this is a git checkout, verify that the submodules are initialized, -# otherwise autotools will just fail with an unhelpful error message. -if [ -d ".git" ] && [ -r ".gitmodules" ] -then - # If git is not in PATH, this will not return 0, thus not keeping us - # from building. Since the message is worthless when git is not - # installed, this is what we want. - if git submodule status 2>/dev/null | grep -q '^-' - then - echo "You have uninitialized git submodules." >&2 - echo "Please run: git submodule update --init" >&2 - exit 1 - fi -fi - autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? |