We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79861ad commit 7c5aacaCopy full SHA for 7c5aaca
start.sh
@@ -18,7 +18,7 @@ $DOWNLOADER_BIN -check-update
18
# -------------------------------
19
if [ "$ENABLE_AUTO_UPDATE" = "true" ]; then
20
# Get available version from downloader
21
- AVAILABLE_VERSION_RAW="$($DOWNLOADER_BIN -print-version 2>&1 || true)"
+ AVAILABLE_VERSION_RAW="$(($DOWNLOADER_BIN -print-version 2>&1 || true) | tee /dev/stderr)"
22
AVAILABLE_VERSION="$(echo "$AVAILABLE_VERSION_RAW" | tr -d '\r' | tail -n 1 | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')"
23
24
if [ -z "$AVAILABLE_VERSION" ]; then
0 commit comments