Skip to content

Commit 20b01b0

Browse files
committed
Changing the config file expression
1 parent af582cf commit 20b01b0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

starter.sh

Lines changed: 3 additions & 1 deletion
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)