File 0004-Check-for-existance-of-autoconfiscate.sh-before-call.patch of Package sblim-sfcb
From b172bc9eefc4651c1ba4c3a559dd58930561e46a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Wed, 30 Mar 2011 11:36:19 +0200
Subject: [PATCH 04/25] Check for existance of autoconfiscate.sh before calling
it in a sub-directory
---
autoconfiscate.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/autoconfiscate.sh b/autoconfiscate.sh
index 828136aadaff..5c58e50bac11 100755
--- a/autoconfiscate.sh
+++ b/autoconfiscate.sh
@@ -5,5 +5,5 @@ libtoolize --force &&
automake -af &&
autoconf --force &&
#if test -d test; then cd test && ./autoconfiscate.sh && cd ..; fi
-if test -d mofc; then cd mofc && ./autoconfiscate.sh; fi
-if test -d cmpi-devel; then cd cmpi-devel && ./autoconfiscate.sh; fi
+if test -f mofc/autoconfiscate.sh; then cd mofc && ./autoconfiscate.sh; fi
+if test -f cmpi-devel/autoconfiscate.sh; then cd cmpi-devel && ./autoconfiscate.sh; fi
--
2.15.0