summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-23 15:39:35 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-23 15:47:19 +0000
commitaa204b6f53f7655c7583e2e1fcecf0f0f1bc8fa8 (patch)
treeb525880e254ad74819c42a524bc672757dffb6e1 /tests
parent7c496033582027573c135f723e3a468716ce5f88 (diff)
downloadmorph-aa204b6f53f7655c7583e2e1fcecf0f0f1bc8fa8.tar.gz
build-system-cpan test: remove redundant mangling
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-system-cpan.script4
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