We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e07ea commit 1377bb2Copy full SHA for 1377bb2
kscript
@@ -24,7 +24,7 @@ if [ "$scriptFile" == "-" ]; then scriptFile="/dev/stdin"; fi
24
if [[ "$scriptFile" != *kts ]]; then
25
tmpScript=${TMPDIR=/tmp}/kscript_stdin_$(mktemp -d XXXXXXXXX).kts # odd but works on macos as well
26
# tmpScript=/tmp/kscript_stdin_$(mktemp -d XXXXXXXXX).kts # odd but works on macos as well
27
- cat ${scriptFile} | tee > ${tmpScript}
+ cat ${scriptFile} > ${tmpScript}
28
29
## rename to use checksum as name to allow for jar-caching also when using stdin
30
stdinMD5=$(md5sum ${tmpScript} | cut -c1-6)
0 commit comments