From: Michael Jeanson Date: Tue, 6 Oct 2015 16:08:00 +0000 (-0400) Subject: Port: make bootstrap script work on most shell X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=8355329b426648834fe5ff00d8eb9beda837c173;hp=185987b146f25ac4e9fbfe087ac835d37d12d1b7 Port: make bootstrap script work on most shell Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/bootstrap b/bootstrap index 1dd41c0d..dd404cb8 100755 --- a/bootstrap +++ b/bootstrap @@ -1,9 +1,8 @@ -#! /bin/sh +#!/bin/sh set -x -if [ ! -e config ]; then +if [ ! -d "config" ]; then mkdir config fi -libtoolize --force --copy -autoreconf -i +autoreconf -vif