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:
parent
5395641036
commit
bc4dbe0627
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue