SPECS (LINUX_2_6): kernel.spec - fix shell syntax and avoid cross-...

pluto pluto at pld-linux.org
Mon Aug 1 13:15:16 CEST 2005


Author: pluto                        Date: Mon Aug  1 11:15:16 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- fix shell syntax and avoid cross-depmod faults.

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1150 -> 1.441.2.1151) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1150 SPECS/kernel.spec:1.441.2.1151
--- SPECS/kernel.spec:1.441.2.1150	Mon Aug  1 12:54:22 2005
+++ SPECS/kernel.spec	Mon Aug  1 13:15:09 2005
@@ -930,13 +930,14 @@
 %endif
 	%{__make} $CrossOpts modules_install \
 		%{?with_verbose:V=1} \
+		DEPMOD=$DEPMOD \
      		INSTALL_MOD_PATH=$KERNEL_INSTALL_DIR \
 		KERNELRELEASE=$KernelVer
 
 	echo "CHECKING DEPENDENCIES FOR KERNEL MODULES"
-	[ -z $CrossOpts ] && \
+	[ -z "$CrossOpts" ] && \
 	/sbin/depmod --basedir $KERNEL_INSTALL_DIR -ae -F $KERNEL_INSTALL_DIR/boot/System.map-$KernelVer -r $KernelVer || echo
-	[ ! -z $CrossOpts ] && \
+	[ ! -z "$CrossOpts" ] && \
 	touch $KERNEL_INSTALL_DIR/modules.dep
 
 	echo "KERNEL RELEASE $KernelVer DONE"
@@ -1446,6 +1447,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1151  2005/08/01 11:15:09  pluto
+- fix shell syntax and avoid cross-depmod faults.
+
 Revision 1.441.2.1150  2005/08/01 10:54:22  pluto
 - netfilter fixed, modpost fixed (build tested on ix86/ppc).
 - release 0.4.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1150&r2=1.441.2.1151&f=u




More information about the pld-cvs-commit mailing list