diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-23 15:39:35 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-04-23 15:47:19 +0000 |
commit | aa204b6f53f7655c7583e2e1fcecf0f0f1bc8fa8 (patch) | |
tree | b525880e254ad74819c42a524bc672757dffb6e1 /tests | |
parent | 7c496033582027573c135f723e3a468716ce5f88 (diff) | |
download | morph-aa204b6f53f7655c7583e2e1fcecf0f0f1bc8fa8.tar.gz |
build-system-cpan test: remove redundant mangling
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/build-system-cpan.script | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script index 0a4be35b..59017d3f 100755 --- a/tests/build-system-cpan.script +++ b/tests/build-system-cpan.script @@ -58,7 +58,6 @@ git commit --quiet -m 'convert hello into a perl cpan project' TEMPEXTRACT="$DATADIR/cpanextract" mkdir -p "$TEMPEXTRACT" -PERLVERSION=`perl -e 'print $^V' | sed 's|^v\(.*\)|\1|'` PERLMAJOR=`perl -e 'print $^V' | sed 's|^v\([^\.]*\)\.[^\.]*\.[^\.]*$|\1|'` ARCH=`perl -V | grep archname | sed 's|^.*archname=\(\S*\).*$|\1|'` @@ -68,6 +67,5 @@ do tar -tf "$chunk" | LC_ALL=C sort | sed -e '/^\.\/./s:^\./::' \ -e s/"$ARCH"/ARCH/ \ - -e s/perl"$PERLMAJOR"/PERLDIR/ \ - -e s/"$PERLVERSION"/PERLVERSION/ + -e s/perl"$PERLMAJOR"/PERLDIR/ done |