Browse Source

Alejandro Mery:


			
			
				rocklinux
			
			
		
Alejandro Mery 20 years ago
parent
commit
870f8145aa
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      scripts/Build-Pkg
  2. +2
    -2
      scripts/Build-Tools

+ 1
- 0
scripts/Build-Pkg

@ -398,6 +398,7 @@ if [ $this_is_the_2nd_run = 0 ] ; then
/usr/bin/time -o "$root/var/adm/cache/$xpkg.tm" \
-f 'buildtime=$(qcalc %U + %S)' $0 $options
returncode=$?
[ ! -e "$root/var/adm/cache/$xpkg.tm" ] && exit $returncode
qcalc() { gawk "BEGIN { printf(\"%d\n\", ($*)*100); }"; }
eval "`grep -v '^Command ' < $root/var/adm/cache/$xpkg.tm`"

+ 2
- 2
scripts/Build-Tools

@ -263,8 +263,8 @@ EOT
echo_status "Testing $toolsdir/lib/fl_wrapper.so."
if ! sh -c "LD_PRELOAD=\"\$LD_PRELOAD:build/\$ROCKCFG_ID/`
`$toolsdir/lib/fl_wrapper.so\" date ; `
`exit $?" >/dev/null 2>&1
`ROCK/$toolsdir/lib/fl_wrapper.so\" date ; `
`exit \$?" >/dev/null 2>&1
then
echo_error "Detected a problem with the flist" \
"wrapper lib on your system."

Loading…
Cancel
Save