mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-25 02:45:15 +08:00
.
This commit is contained in:
parent
88b5eb8ef1
commit
1c5a98512f
@ -1,5 +1,8 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Fix valgrind script to exec "$@", not some var.
|
||||
# Fix valgrind sources to know about syscall 252, for exit_group
|
||||
|
||||
# Convert Makefile.am files:
|
||||
# find tests -name Makefile.am \
|
||||
# | xargs grep -wl PATH|xargs perl -pi -e 's,src:\$\$PATH,src/vg:\$\$PATH,'
|
||||
@ -13,7 +16,7 @@ up=`dirname $pwd`
|
||||
path='export PATH='$up':${PATH#*:}'
|
||||
pre='#!/bin/sh\n'"$path"'\n'
|
||||
n=9
|
||||
vg='exec /usr/bin/valgrind --quiet --num-callers='$n
|
||||
vg='exec /p/bin/valgrind --quiet --num-callers='$n
|
||||
cat <<EOF > src/vg/gen
|
||||
for i in $coreutils; do
|
||||
printf "$pre$vg \$i"' "\$@"\n' > \$i
|
||||
|
Loading…
Reference in New Issue
Block a user