From 3c1d02d2cb661c7d76ec014eb8292fbac0adaf42 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Mon, 7 May 2018 06:11:20 -0400 Subject: [PATCH] refactor(windows): remove the unused SCRIPT_DIR variable --- windows/cross-compile/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/windows/cross-compile/build.sh b/windows/cross-compile/build.sh index 48e351eef..12fdba540 100644 --- a/windows/cross-compile/build.sh +++ b/windows/cross-compile/build.sh @@ -38,7 +38,6 @@ set -euo pipefail # Common directory paths readonly WORKSPACE_DIR="/workspace" -readonly SCRIPT_DIR="/script" readonly QTOX_SRC_DIR="/qtox" @@ -49,9 +48,9 @@ then exit 1 fi -if [ ! -d "$WORKSPACE_DIR" ] || [ ! -d "$SCRIPT_DIR" ] || [ ! -d "$QTOX_SRC_DIR" ] +if [ ! -d "$WORKSPACE_DIR" ] || [ ! -d "$QTOX_SRC_DIR" ] then - echo "Error: At least one of $WORKSPACE_DIR, $SCRIPT_DIR or $QTOX_SRC_DIR directories is missing." + echo "Error: At least one of $WORKSPACE_DIR or $QTOX_SRC_DIR directories is missing." exit 1 fi