From: Michael Jeanson Date: Fri, 2 Oct 2015 15:01:52 +0000 (-0400) Subject: Port: make bootstrap script work on most shell X-Git-Tag: v0.9.0~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e89aafa1f8e07d9821c403a397f5955681f688e7;p=urcu.git Port: make bootstrap script work on most shell The "-e" switch, which tests if a file or directory exists, is not implemented in all shells. Use "-d" instead which is more widely available. Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/bootstrap b/bootstrap index c71b862..2bec371 100755 --- a/bootstrap +++ b/bootstrap @@ -1,8 +1,8 @@ -#! /bin/sh +#!/bin/sh set -x -if [ ! -e config ]; then +if [ ! -d "config" ]; then mkdir config fi -autoreconf -i +autoreconf -vi