commit | dc370e4969f8e0948f356e189ef0e382a0a3a446 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Jan 22 10:24:59 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Jan 22 10:24:59 2015 +0000 |
tree | 853501670335faba7679295c460352c8ce6bd747 | |
parent | 51d81661dc1e8d12c11aa02b468642f9bdc635b7 [diff] |
Improve script portability
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh index 23f19ea..6813754 100755 --- a/tests/ssl-opt.sh +++ b/tests/ssl-opt.sh
@@ -372,7 +372,7 @@ # Pick a "unique" port in the range 10000-19999. PORT="0000$$" -PORT="1$(echo $PORT | tail -c 5)" +PORT="1$( printf $PORT | tail -c 4 )" # fix commands to use this port P_SRV="$P_SRV server_port=$PORT"