[openib-general] [PATCH] management/*/autogen.sh: config dir test and creation
Sasha Khapyorsky
sashak at voltaire.com
Thu Feb 9 05:31:27 PST 2006
Hi,
This will check config dir existance and create it if neccessary. As
previous one but for libraries and diags.
Sasha.
This will check config dir existance and create it if neccessary.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
diags/autogen.sh | 3 +++
libibcommon/autogen.sh | 3 +++
libibmad/autogen.sh | 3 +++
libibumad/autogen.sh | 3 +++
4 files changed, 12 insertions(+), 0 deletions(-)
8886c81fefd19a1ae8103545e880b5680b4de7d1
diff --git a/diags/autogen.sh b/diags/autogen.sh
index fd47839..4827884 100755
--- a/diags/autogen.sh
+++ b/diags/autogen.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+# create config dir if not exist
+test -d config || mkdir config
+
set -x
aclocal -I config
libtoolize --force --copy
diff --git a/libibcommon/autogen.sh b/libibcommon/autogen.sh
index fd47839..4827884 100755
--- a/libibcommon/autogen.sh
+++ b/libibcommon/autogen.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+# create config dir if not exist
+test -d config || mkdir config
+
set -x
aclocal -I config
libtoolize --force --copy
diff --git a/libibmad/autogen.sh b/libibmad/autogen.sh
index fd47839..4827884 100755
--- a/libibmad/autogen.sh
+++ b/libibmad/autogen.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+# create config dir if not exist
+test -d config || mkdir config
+
set -x
aclocal -I config
libtoolize --force --copy
diff --git a/libibumad/autogen.sh b/libibumad/autogen.sh
index fd47839..4827884 100755
--- a/libibumad/autogen.sh
+++ b/libibumad/autogen.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+# create config dir if not exist
+test -d config || mkdir config
+
set -x
aclocal -I config
libtoolize --force --copy
--
1.1.6
More information about the general
mailing list