From feaca772d9d0074eaa6f1b89e7a5a76415045b23 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sat, 14 Jan 2017 11:46:03 +0000 Subject: [PATCH] Fix autotool.sh warning if builddir exists --- autotool.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotool.sh b/autotool.sh index 5074b09d8..cb9673d65 100755 --- a/autotool.sh +++ b/autotool.sh @@ -101,7 +101,7 @@ version_check() { if [ "$vc_status" != 0 ]; then printerr "***Error***: $vc_package $vc_comparator $vc_min_version not found." fi - + return $vc_status } @@ -147,7 +147,7 @@ build_dir=`cat $configure_ac | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q` if [ -n "$build_dir" ]; then - mkdir $build_dir + mkdir -p $build_dir fi config_rpath=m4/config.rpath echo "Copying $config_rpath to $build_dir"