SPECS: ant.spec - don't use export and assignment on same line, subprocess ...

glen glen at pld-linux.org
Fri Jan 30 11:53:59 CET 2009


Author: glen                         Date: Fri Jan 30 10:53:59 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't use export and assignment on same line, subprocess exit code is lost this way

---- Files affected:
SPECS:
   ant.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: SPECS/ant.spec
diff -u SPECS/ant.spec:1.101 SPECS/ant.spec:1.102
--- SPECS/ant.spec:1.101	Thu Jan 29 20:53:40 2009
+++ SPECS/ant.spec	Fri Jan 30 11:53:54 2009
@@ -566,7 +566,8 @@
 %{?with_jsch:required_jars="$required_jars jsch"}
 %{?with_netrexx:required_jars="$required_jars NetRexxC"}
 
-export CLASSPATH=$(build-classpath $required_jars)
+CLASSPATH=$(build-classpath $required_jars)
+export CLASSPATH
 
 sh build.sh --noconfig main javadocs
 
@@ -892,6 +893,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2009/01/30 10:53:54  glen
+- don't use export and assignment on same line, subprocess exit code is lost this way
+
 Revision 1.101  2009/01/29 19:53:40  pawelz
 - use $() instead of ``
 - comment about patch1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ant.spec?r1=1.101&r2=1.102&f=u



More information about the pld-cvs-commit mailing list