Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
libmicro
find_binary.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File find_binary.patch of Package libmicro
diff -pur libmicro-0.4.0/bench.sh libmicro-0.4.0-fixed/bench.sh --- libmicro-0.4.0/bench.sh 2007-07-02 23:17:45.000000000 +0200 +++ libmicro-0.4.0-fixed/bench.sh 2008-03-17 12:25:00.000000000 +0100 @@ -30,8 +30,9 @@ # Use is subject to license terms. # +BIN="/usr/lib/libMicro/bin" bench_version=0.4.0 -libmicro_version=`bin/tattle -V` +libmicro_version=`$BIN/tattle -V` case $libmicro_version in $bench_version) @@ -96,14 +97,14 @@ printf "!CPU_NAME: %30s\n" "$p_type" printf "!IP_address: %30s\n" `getent hosts $hostname | awk '{print $1}'` printf "!Run_by: %30s\n" $LOGNAME printf "!Date: %30s\n" "`date '+%D %R'`" -printf "!Compiler: %30s\n" `bin/tattle -c` -printf "!Compiler Ver.:%30s\n" "`bin/tattle -v`" -printf "!sizeof(long): %30s\n" `bin/tattle -s` -printf "!extra_CFLAGS: %30s\n" "`bin/tattle -f`" -printf "!TimerRes: %30s\n" "`bin/tattle -r`" +printf "!Compiler: %30s\n" `$BIN/tattle -c` +printf "!Compiler Ver.:%30s\n" "`$BIN/tattle -v`" +printf "!sizeof(long): %30s\n" `$BIN/tattle -s` +printf "!extra_CFLAGS: %30s\n" "`$BIN/tattle -f`" +printf "!TimerRes: %30s\n" "`$BIN/tattle -r`" mkdir -p $TMPROOT/bin -cp bin-$ARCH/exec_bin $TMPROOT/bin/$A +cp $BIN/exec_bin $TMPROOT/bin/$A while read A B do @@ -125,9 +126,9 @@ do if [ ! -f $TMPROOT/bin/$A ] then - cp bin-$ARCH/$A $TMPROOT/bin/$A + cp $BIN/$A $TMPROOT/bin/$A fi - (cd $TMPROOT && eval "bin/$A $B") + (cd $TMPROOT && eval "$BIN/$A $B") done <<. # # Obligatory null system call: use very short time
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor