File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ function __sdk_selfupdate() {
3737 sdkman_remote_script_version=$( __sdkman_secure_curl " $sdkman_script_version_api " )
3838 sdkman_remote_native_version=$( __sdkman_secure_curl " $sdkman_native_version_api " )
3939
40- sdkman_local_script_version=$( cat " $SDKMAN_DIR /var/version" )
41- sdkman_local_native_version=$( cat " $SDKMAN_DIR /var/version_native" )
40+ sdkman_local_script_version=$( < " $SDKMAN_DIR /var/version" )
41+ sdkman_local_native_version=$( < " $SDKMAN_DIR /var/version_native" )
4242
4343 __sdkman_echo_debug " Script: local version: $sdkman_local_script_version ; remote version: $sdkman_remote_script_version "
4444 __sdkman_echo_debug " Native: local version: $sdkman_local_native_version ; remote version: $sdkman_remote_native_version "
You can’t perform that action at this time.
0 commit comments