* use helpers script with dot version function for xdebug start and quit script

* condionaly laynch sed tunr on profile options for php 74 & correct appropriate logic
This commit is contained in:
WP Studio
2025-01-15 13:16:02 +03:00
parent 21140eab2d
commit e699876976
3 changed files with 61 additions and 25 deletions

5
bash/_helpers.sh Normal file
View File

@ -0,0 +1,5 @@
function dot_version() {
sed -r 's/^([[:digit:]])/\1./g' <<< $1
}
export -f dot_version