Skip to content

Commit 238b3f9

Browse files
authored
Changing the config file expression (#339)
1 parent af582cf commit 238b3f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

starter.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ fi
3434

3535
if [ "$version" == "latest" ]; then
3636
conf_file="${setup}-3.12"
37+
elif [[ "$version" == *.*.* ]]; then
38+
conf_file="${setup}-${version%.*}"
3739
else
38-
conf_file="${setup}-${version%.*.*}"
40+
conf_file="${setup}-${version}"
3941
fi
4042

4143
docker run -d \

0 commit comments

Comments
 (0)