Skip to content
Snippets Groups Projects
Commit 879bf4de authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

release script: Make autoconf run more robust.

parent 0c0251f2
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,6 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# meant to be included in shell scripts
package=$(${AUTOCONF-autoconf} -f '--trace=AC_INIT:$1#$2')
version=${package#*#}
package=${package%#*}
hostname=${hostname-$(hostname)}
if [[ -x "scripts/reconfigure-${hostname}" ]]; then
reconfCmd="scripts/reconfigure-${hostname}"
......@@ -54,6 +51,12 @@ else
# let's hope everything's correctly setup
reconfCmd=scripts/reconfigure
fi
if [[ ! -f m4/ltversion.m4 ]]; then
$reconfCmd >/dev/null 2>&1
fi
package=$(${AUTOCONF-autoconf} -f '--trace=AC_INIT:$1#$2')
version=${package#*#}
package=${package%#*}
log_dir=${log_dir-"${package}-${version}-release-logs"}
mkdir -p "$log_dir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment