diff options
author | Jim Meyering <jim@meyering.net> | 2002-11-30 16:34:20 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-11-30 16:34:20 +0000 |
commit | 42a42f7e4f9406e8ed15a82edcebbb3ab93c1be0 (patch) | |
tree | 0b644ae21134d9de5e3ba4a3ecf185ab2f376ad8 | |
parent | 95cb2ed03746954491847604a5170f681aad5999 (diff) | |
download | coreutils-42a42f7e4f9406e8ed15a82edcebbb3ab93c1be0.tar.xz |
*** empty log message ***
-rw-r--r-- | README-valgrind | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/README-valgrind b/README-valgrind index d8e768fb3..254e5352d 100644 --- a/README-valgrind +++ b/README-valgrind @@ -1,9 +1,12 @@ -Convert Makefile.am files: - find tests -name Makefile.am \ - | xargs grep -wl PATH|xargs perl -pi -e 's,src:\$\$PATH,src/vg:\$\$PATH,' +#! /bin/bash -Create src/vg: +# Convert Makefile.am files: +# find tests -name Makefile.am \ +# | xargs grep -wl PATH|xargs perl -pi -e 's,src:\$\$PATH,src/vg:\$\$PATH,' +# Create src/vg: + +coreutils=$(echo 'spy:;@echo $(all_programs)'| make -f Makefile -f - spy) mkdir src/vg cat <<EOF > src/vg/gen n=9 @@ -12,7 +15,7 @@ up=`dirname $pwd` path='export PATH='$up':${PATH#*:}' pre='#!/bin/sh\n'"$path"'\n' vg='exec /p/bin/valgrind --quiet --num-callers='$n -for i in $(fileutils); do +for i in $coreutils; do printf "$pre$vg $i"' "$@"\n' > $i chmod a+x $i done |