[M3commit] CVS Update: cm3
    Jay Krell 
    jkrell at elego.de
       
    Thu Dec 30 14:18:27 CET 2010
    
    
  
CVSROOT:	/usr/cvs
Changes by:	jkrell at birch.	10/12/30 14:18:27
Modified files:
	cm3/scripts/: sysinfo.sh 
Log message:
	replace big uname switch with:
	$CM3 -version 2>/dev/null | grep host: | perl -pi -e "s/ *host: *//"
	
	Let's hope:
	- it works on Solaris where we have steady difficulty achieving
	portability of shell code
	- perl is everywhere (else I'm sure sed/awk could be used)
	
	This removes more porting work and host/target knowledge from the system.
	Still more to do.
    
    
More information about the M3commit
mailing list