Skip to content

Commit

Permalink
Fixed version printing issue in Linux/Mac systems
Browse files Browse the repository at this point in the history
Signed-off-by: Manoj <[email protected]>
  • Loading branch information
themanojshukla committed May 11, 2022
1 parent 62974aa commit a1d0002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/.commons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function resolveEnv() {
esac

# JAVA_VERSION=`echo "$(${JAVA} -version 2>&1)" | grep " version" | awk '{ print substr($3, 2, length($3)-2); }'`
NEXIAL_VERSION=$(cat ${NEXIAL_HOME}/version.txt > /dev/null 2>&1)
NEXIAL_VERSION=$(cat ${NEXIAL_HOME}/version.txt)

echo "» ENVIRONMENT: "
echo " CURRENT TIME: `date \"+%Y-%m-%d %H:%M:%S\"`"
Expand Down

0 comments on commit a1d0002

Please sign in to comment.