summaryrefslogtreecommitdiffstats
path: root/pts/test-resources/compress-pbzip2
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-04-30 21:35:13 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-04-30 21:35:13 -0400
commit5e55fda1ca63052952523983f741d5667cea2083 (patch)
tree530c66ef49d0a9381c2e1079182ab6214417ed0c /pts/test-resources/compress-pbzip2
parent606491ff24fdbe059169b95add2800af6ac64306 (diff)
downloadphoronix-test-suite-upstream-5e55fda1ca63052952523983f741d5667cea2083.tar.gz
phoronix-test-suite-upstream-5e55fda1ca63052952523983f741d5667cea2083.tar.xz
phoronix-test-suite-upstream-5e55fda1ca63052952523983f741d5667cea2083.zip
Bug fix reported by uncle_fungus in compress-pbzip2, moving the code
fixes it.
Diffstat (limited to 'pts/test-resources/compress-pbzip2')
-rw-r--r--pts/test-resources/compress-pbzip2/install.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/pts/test-resources/compress-pbzip2/install.sh b/pts/test-resources/compress-pbzip2/install.sh
index 3e4a894..4e0fb13 100644
--- a/pts/test-resources/compress-pbzip2/install.sh
+++ b/pts/test-resources/compress-pbzip2/install.sh
@@ -2,6 +2,11 @@
cd $1
+if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
+ then
+ tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
+fi
+
tar -xvf bzip2-1.0.5.tar.gz
tar -xvf pbzip2-1.0.2.tar.gz
cd bzip2-1.0.5/
@@ -12,11 +17,6 @@ cd ..
cd pbzip2-1.0.2/
make pbzip2-static
-if [ ! -f ../pts-shared/pts-wav-sample-file.wav ]
- then
- tar -jxvf ../pts-shared/pts-wav-sample-file.tar.bz2 -C ../pts-shared/
-fi
-
cd ..
rm -f bigfile
for i in 1 2 3 4 5 6 7 8