diff options
Diffstat (limited to 'tests/build-system-cpan.script')
-rwxr-xr-x | tests/build-system-cpan.script | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script index 73e3f186..fe4f1c23 100755 --- a/tests/build-system-cpan.script +++ b/tests/build-system-cpan.script @@ -55,15 +55,9 @@ git commit --quiet -m 'convert hello into a perl cpan project' "$SRCDIR/scripts/test-morph" build --prefix=/ chunk-repo farrokh hello.morph -PERLMAJOR=`perl -e 'print $^V' | sed 's|^v\([^\.]*\)\.[^\.]*\.[^\.]*$|\1|'` -ARCH=`perl -V | grep 'archname' | grep -v -e '-Darchname' | - sed 's|^.*archname=\(\S*\).*$|\1|'` - for chunk in "$DATADIR/cache/"*.chunk.* do echo "$chunk:" | sed 's/[^.]*//' tar -tf "$chunk" | LC_ALL=C sort | - sed -e '/^\.\/./s:^\./::' \ - -e s/"$ARCH"/ARCH/ \ - -e s/perl"$PERLMAJOR"/PERLDIR/ + sed -e '/^\.\/./s:^\./::' done |