[packages/icedtea6] Force /bin/bash shell for make

jajcus jajcus at pld-linux.org
Fri Apr 19 12:57:07 CEST 2013


commit dee56038f3b41792e4ba35df27c97544a0465828
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Fri Apr 19 10:30:13 2013 +0200

    Force /bin/bash shell for make
    
    The Makefiles use popd/pushd not available in mksh

 icedtea6.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/icedtea6.spec b/icedtea6.spec
index f6c87fb..f413b56 100644
--- a/icedtea6.spec
+++ b/icedtea6.spec
@@ -396,6 +396,7 @@ export PATH="$JAVA_HOME/bin:$PATH"
 	--with-rhino=%{_javadir}/js.jar
 
 %{__make} extract extract-ecj \
+	SHELL=/bin/bash \
 	DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)"
 
 %if %{with bootstrap}
@@ -407,6 +408,7 @@ export PATH="$JAVA_HOME/bin:$PATH"
 %{__sed} -i -e's/dpkg-architecture/dpkg-architecture__/' openjdk*/*/make/common/shared/Platform.gmk
 
 %{__make} -j1 \
+	SHELL=/bin/bash \
 	DISABLE_HOTSPOT_OS_VERSION_CHECK=ok \
 	DISTRIBUTION_PATCHES="$(echo pld-patches/*.patch)" \
 	PRINTF=/bin/printf
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/icedtea6.git/commitdiff/71fe5dab1c9860a7213b52027a95ecb28b629d58



More information about the pld-cvs-commit mailing list