Skip to content

Commit 1377bb2

Browse files
committed
removed tee
1 parent 65e07ea commit 1377bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [ "$scriptFile" == "-" ]; then scriptFile="/dev/stdin"; fi
2424
if [[ "$scriptFile" != *kts ]]; then
2525
tmpScript=${TMPDIR=/tmp}/kscript_stdin_$(mktemp -d XXXXXXXXX).kts # odd but works on macos as well
2626
# tmpScript=/tmp/kscript_stdin_$(mktemp -d XXXXXXXXX).kts # odd but works on macos as well
27-
cat ${scriptFile} | tee > ${tmpScript}
27+
cat ${scriptFile} > ${tmpScript}
2828

2929
## rename to use checksum as name to allow for jar-caching also when using stdin
3030
stdinMD5=$(md5sum ${tmpScript} | cut -c1-6)

0 commit comments

Comments
 (0)