diff --git a/run-atlas_container.sh b/run-atlas_container.sh index 459be18..9d528e0 100755 --- a/run-atlas_container.sh +++ b/run-atlas_container.sh @@ -1,6 +1,6 @@ #!/bin/bash # coding: utf-8 -# version=2023-10-24-alpha01 +# version=2023-10-24-alpha02 # author: Shuwei Ye "true" '''\' myScript="${BASH_SOURCE:-$0}" @@ -147,7 +147,7 @@ def selfUpdate(args): resource = urlopen(URL_MYSELF) content = resource.read().decode('utf-8') - latestVersion = getVersion(content) + latestVersion = getVersion(content.split('\n')) if latestVersion is not None: if currentVersion is None or latestVersion > currentVersion: myScript = os.path.abspath(sys.argv[0])