CVS: main configure,1.47,1.48
Update of /cvsroot/mplayer/main In directory usw-pr-cvs1:/tmp/cvs-serv28399 Modified Files: configure Log Message: Fixed cpu model detection with non-bash bourne shell Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -r1.47 -r1.48 *** configure 2001/05/13 18:29:55 1.47 --- configure 2001/05/17 09:36:36 1.48 *************** *** 184,188 **** # --- - TAB=`echo -n -e "\t"` pname=`cat /proc/cpuinfo | grep 'model name' | cut -d ':' -f 2` pparam=`cat /proc/cpuinfo | grep 'features' | cut -d ':' -f 2` --- 184,187 ---- *************** *** 192,196 **** pvendor=`cat /proc/cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2` pfamily=`cat /proc/cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2` ! pmodel=`cat /proc/cpuinfo | grep "model$TAB" | cut -d ':' -f 2 | cut -d ' ' -f 2` pstepping=`cat /proc/cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2` --- 191,195 ---- pvendor=`cat /proc/cpuinfo | grep 'vendor_id' | cut -d ':' -f 2 | cut -d ' ' -f 2` pfamily=`cat /proc/cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2` ! pmodel=`cat /proc/cpuinfo |grep -v 'model name'| grep "model" | cut -d ':' -f 2 | cut -d ' ' -f 2` pstepping=`cat /proc/cpuinfo | grep 'stepping' | cut -d ':' -f 2 | cut -d ' ' -f 2` _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
Dariush Pietrzak