diff options
author | Roland McGrath <roland@redhat.com> | 2009-01-04 04:37:24 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2009-01-04 04:37:24 -0800 |
commit | ce862303411e3526562184381a6b594053ac2a39 (patch) | |
tree | 63e9a9ddfe55b66fc3e46b25ce62b5978da072bc /extract-distro.sh | |
parent | e5528628bd8a01aa42916314173f65330487fa85 (diff) | |
download | debuginfo-test-scripts-ce862303411e3526562184381a6b594053ac2a39.tar.gz debuginfo-test-scripts-ce862303411e3526562184381a6b594053ac2a39.tar.xz debuginfo-test-scripts-ce862303411e3526562184381a6b594053ac2a39.zip |
fixes
Diffstat (limited to 'extract-distro.sh')
-rwxr-xr-x | extract-distro.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/extract-distro.sh b/extract-distro.sh index 866b897..ef8f452 100755 --- a/extract-distro.sh +++ b/extract-distro.sh @@ -1,17 +1,17 @@ #!/bin/sh -n=1 -if [ "x$1" = "x-j" ]; then - n=$2 - shift - shift -esac +srcdir=`dirname $0` +srcdir=`(cd "$srcdir"; pwd)` +PATH="$srcdir:$PATH" here=`pwd` +df -h . for distro; do for dir in $distro/*/debug/; do echo "considering ${dir}..." - (cd "$dir" && ls | ./extract-rpm.sh "$here") | ./pack-debuginfo.sh $n + (cd "$dir" && ls | extract-rpm.sh "$here") | pack-debuginfo.sh & done + wait + df -h . done |