Skip to content

Commit

Permalink
Fixed input for CPU2006 tar file extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanspoone committed Apr 1, 2015
1 parent 8149a3f commit 7cf6ae9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,15 @@ function setup {
if [ ! -d "src" ]; then
echo "Extracting SPECCPU..."
mkdir src
# Download cpu2006-1.2.tar.xz if it doesn't exist then extract
for file in ./cpu2006-*tar*; do
if [ -e "$file" ]; then
tar xfv "$file" -C src
else
wget http://storage.dcpcomp.intel.com/files/cpu2006-1.2.tar.xz
tar xfv cpu2006-1.2.tar.xz -C src
echo
echo -n "Could not find your CPU2006 tar archive. Where is it? "
read SPECCPU_TAR
echo
tar xfv "$SPECCPU_TAR" -C src
fi
done
cd src
Expand Down

0 comments on commit 7cf6ae9

Please sign in to comment.