We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2063eda commit cce87f4Copy full SHA for cce87f4
1 file changed
tests/auto/exec.sh
@@ -2,8 +2,9 @@ set -e
2
. /usr/bin/opentelemetry_shell.sh
3
if [ "$OPEN_FD" = TRUE ]; then exec 3>&2; fi
4
if [ "$SOURCE" = TRUE ]; then
5
- echo 'exec echo' "$@" > source_exec.sh
6
- . ./source_exec.sh
+ file="$(\mktemp)"
+ echo 'exec echo' "$@" > "$file"
7
+ . "$file"
8
else
9
exec echo "$@"
10
fi
0 commit comments