From fb09581d187a543b14330919ddb4953089edfa83 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 26 Jun 2017 05:48:48 +0200 Subject: [PATCH] Correct run.sh --- run.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/run.sh b/run.sh index 2c2264907..d4bb0bc40 100755 --- a/run.sh +++ b/run.sh @@ -3,21 +3,18 @@ set -eu PROJECT="ArchiSteamFarm" OUT="out" -BINARY="${OUT}/${PROJECT}.dll" +BINARY="${PROJECT}/${OUT}/${PROJECT}.dll" ASF_ARGS=("") -BUILD="Release" UNTIL_CLEAN_EXIT=0 PRINT_USAGE() { - echo "Usage: $0 [--until-clean-exit] [--cryptkey=] [--path=] [--server] [debug/release]" + echo "Usage: $0 [--until-clean-exit] [--cryptkey=] [--path=] [--server]" exit 1 } for ARG in "$@"; do case "$ARG" in - release|Release) BUILD="Release" ;; - debug|Debug) BUILD="Debug" ;; --cryptkey=*) ASF_ARGS+=("$ARG") ;; --path=*) ASF_ARGS+=("$ARG") ;; --server) ASF_ARGS+=("$ARG") ;;