diff --git a/zkstack_cli/zkstackup/install b/zkstack_cli/zkstackup/install index f20ba4dd545a..849f0699bc32 100755 --- a/zkstack_cli/zkstackup/install +++ b/zkstack_cli/zkstackup/install @@ -3,8 +3,7 @@ set -eo pipefail BIN_URL="https://raw.githubusercontent.com/matter-labs/zksync-era/main/zkstack_cli/zkstackup/zkstackup" -HOME_DIR=${XDG_CONFIG_HOME:-$HOME} -BIN_DIR="$HOME_DIR/.local/bin" +BIN_DIR="$HOME/.local/bin" BIN_PATH="$BIN_DIR/zkstackup" main() { diff --git a/zkstack_cli/zkstackup/zkstackup b/zkstack_cli/zkstackup/zkstackup index 20a061620f9a..e91bbc17905c 100755 --- a/zkstack_cli/zkstackup/zkstackup +++ b/zkstack_cli/zkstackup/zkstackup @@ -1,8 +1,7 @@ #!/usr/bin/env bash set -eo pipefail -HOME_DIR=${XDG_CONFIG_HOME:-$HOME} -LOCAL_DIR=${LOCAL_DIR:-"$HOME_DIR/.local"} +LOCAL_DIR="$HOME/.local/" BIN_DIR="$LOCAL_DIR/bin" BINS=()