We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3100d62 + 34f072f commit d16fd29Copy full SHA for d16fd29
mithril-install.sh
@@ -142,5 +142,6 @@ tar -xz -f "$ASSETS_FILE_PATH" -C "$INSTALL_PATH" "$NODE"
142
chmod +x "$INSTALL_PATH/$NODE"
143
rm -f "$ASSETS_FILE_PATH"
144
145
-VERSION=$("$INSTALL_PATH/$NODE" --version | awk '{print $NF}')
+VERSION_OUTPUT=$("$INSTALL_PATH/$NODE" --version)
146
+VERSION=$(echo "$VERSION_OUTPUT" | awk '{print $NF}')
147
echo "Congrats! ${NODE} has been upgraded to ${VERSION} from distribution ${DISTRIBUTION} and installed at ${INSTALL_PATH}!"
0 commit comments