mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor(windows): remove the unused SCRIPT_DIR variable
This commit is contained in:
parent
4f22640b9f
commit
3c1d02d2cb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user