diff options
| -rwxr-xr-x | build.sh | 2 | ||||
| -rwxr-xr-x | env.sh | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -17,7 +17,7 @@ RUSTC_VERSION=`rustc +stable --version` PRODUCT_VERSION=$(node -p "require('./gui/package.json').version" | sed -Ee 's/\.0//g') CARGO_TARGET_DIR=${CARGO_TARGET_DIR:-"$SCRIPT_DIR/target"} -source env.sh +source env.sh "" if [[ "${1:-""}" != "--dev-build" ]]; then if [[ $(git diff --shortstat 2> /dev/null | tail -n1) != "" ]]; then @@ -4,6 +4,8 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" if [ -n "$1" ]; then PLATFORM="$1" +else + PLATFORM="" fi if [ -z "$PLATFORM" ]; then |
