mirror of
https://github.com/Xastir/Xastir
synced 2026-08-13 17:46:16 -04:00
In commit 2056f51 I accidentally removed the "!" from the "#!"
construct on line 1. This was not intentional, and has gone unnoticed
for some time because the script still works normally.
However, the shebang line also has a "-e" option deliberately placed
there to cause the script to exit with an error if any step of the
process fails -- this is precisely to prevent the script from printing
"Bootstrap complete!" when it has in fact not done its job, which has
confused many users in the past.
Breaking the "#!" meant that that -e was no longer having any effect.
Bootstrap.sh is not really the recommended approach to autotools
anymore, since autotools provides autoreconf to do exactly the same
thing in one step. But years of habit are hard to break, and having a
script that declares victory when it has in fact completely failed is
not good. This restores the intended behavior of the entire script
exiting with an error if any step in it fails.
29 lines
513 B
Bash
Executable file
29 lines
513 B
Bash
Executable file
#!/bin/sh -e
|
|
#
|
|
#
|
|
# Copyright (C) 2000-2026 The Xastir Group
|
|
#
|
|
#
|
|
# This simple routine will run autostuff in the appropriate
|
|
# order to generate the needed configure/makefiles
|
|
#
|
|
|
|
echo " 5) Removing autom4te.cache directory..."
|
|
rm -rf autom4te.cache
|
|
|
|
echo " 4) Running aclocal..."
|
|
aclocal
|
|
|
|
echo " 3) Running autoheader..."
|
|
autoheader
|
|
|
|
echo " 2) Running autoconf..."
|
|
autoconf
|
|
|
|
# Cygwin needs these parameters to be separate.
|
|
echo " 1) Running automake..."
|
|
automake -a -c
|
|
|
|
echo "Bootstrap complete."
|
|
|
|
|