1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

shtests: add ${.sh.pid} to PS4/xtrace (re: 9de65210)

This commit is contained in:
Martijn Dekker 2020-09-02 15:51:02 +01:00
parent 5395641036
commit bc4dbe0627

View file

@ -218,7 +218,7 @@ done
shift $OPTIND-1 shift $OPTIND-1
if (( debug )) || [[ $trace ]] if (( debug )) || [[ $trace ]]
then export PS4='+ [${SECONDS:+${SECONDS%????}s|}${.sh.subshell:+S${.sh.subshell},}${.sh.file:+${.sh.file#${.sh.file%/*/*}/},}${.sh.fun:+${.sh.fun},}${LINENO:+L$LINENO,}e$?] ' then export PS4='+ [${SECONDS:+${SECONDS%????}s|}${.sh.pid:+P${.sh.pid},}${.sh.subshell:+S${.sh.subshell},}${.sh.file:+${.sh.file#${.sh.file%/*/*}/},}${.sh.fun:+${.sh.fun},}${LINENO:+L$LINENO,}e$?] '
if (( debug )) if (( debug ))
then set -x then set -x
fi fi