Remove duplicate line in gcs_smoke.sh

PiperOrigin-RevId: 167017337
This commit is contained in:
Shanqing Cai 2017-08-30 10:55:29 -07:00 committed by TensorFlower Gardener
parent 48e3b62541
commit adf6f98b6b

View File

@ -65,10 +65,6 @@ echo "Building in temporary directory: ${BUILD_DIR}"
cp -r ${SCRIPT_DIR}/* "${BUILD_DIR}"/ || \ cp -r ${SCRIPT_DIR}/* "${BUILD_DIR}"/ || \
die "Failed to copy files to ${BUILD_DIR}" die "Failed to copy files to ${BUILD_DIR}"
# Download whl file into the build context directory.
wget -P "${BUILD_DIR}" ${WHL_URL} || \
die "Failed to download tensorflow whl file from URL: ${WHL_URL}"
DOCKERFILE="${BUILD_DIR}/Dockerfile" DOCKERFILE="${BUILD_DIR}/Dockerfile"
if [[ ! -f "${DOCKERFILE}" ]]; then if [[ ! -f "${DOCKERFILE}" ]]; then
die "ERROR: Cannot find Dockerfile at expected path ${DOCKERFILE}" die "ERROR: Cannot find Dockerfile at expected path ${DOCKERFILE}"