mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-16 08:42:50 +00:00
Improve script portability
This commit is contained in:
parent
51d81661dc
commit
dc370e4969
@ -372,7 +372,7 @@ fi
|
|||||||
|
|
||||||
# Pick a "unique" port in the range 10000-19999.
|
# Pick a "unique" port in the range 10000-19999.
|
||||||
PORT="0000$$"
|
PORT="0000$$"
|
||||||
PORT="1$(echo $PORT | tail -c 5)"
|
PORT="1$( printf $PORT | tail -c 4 )"
|
||||||
|
|
||||||
# fix commands to use this port
|
# fix commands to use this port
|
||||||
P_SRV="$P_SRV server_port=$PORT"
|
P_SRV="$P_SRV server_port=$PORT"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user