Files
xen/tools/tests/regression/scripts/download_python.sh
T
Keir Fraser 00ee63bf97 tools/tests/regression/: Fix some paths and scripts.
o scripts and Makefile are mostly location independent now
  (exception XEN_ROOT in Makefile)
o use of $() instead of ${} in Makefile

From: Andreas Florath <xen@flonatel.org>
Signed-off-by: Keir Fraser <Keir.Fraser@eu.citrix.com>
2009-08-02 12:22:03 +01:00

13 lines
286 B
Bash

#!/bin/bash
#
# Downloads python with version $1 and stores in into the downloads dir.
#
set -e
REG_TEST_DIR=$1
VERSION=$2
mkdir -p ${REG_TEST_DIR}/downloads
wget -q -O ${REG_TEST_DIR}/downloads/Python-${VERSION}.tgz http://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz