From e89aafa1f8e07d9821c403a397f5955681f688e7 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 2 Oct 2015 11:01:52 -0400 Subject: [PATCH] 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 --- bootstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.34.1