File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# # note: always use a patch release even if it's 0
4- KSCRIPT_VERSION=1.5.4-SNAPSHOT
4+ KSCRIPT_VERSION=1.6
55
66# # make sure that all requirements (java, kotlinc, maven) to run kscript are met
77assertInPath (){ if [ -z " $( which $1 ) " ]; then echo " [ERROR] Could not locate '$1 '" 1>&2 ; exit 1; fi }
@@ -186,7 +186,7 @@ if [[ "$scriptFile" != *kts ]] && [[ ! -e ${scriptFile} ]]; then
186186# http://stackoverflow.com/questions/2172352/in-bash-how-can-i-check-if-a-string-begins-with-some-value
187187 trimmedScript=$( echo " ${scriptFile} " | tr -d ' \n' )
188188 if [[ $trimmedScript == lines.* ]] || [[ $trimmedScript == stdin.* ]] ; then
189- scriptFile=$' //DEPS com.github.holgerbrandl:kscript:1.2.1 \n import kscript.text.*\n val lines = resolveArgFile(args)\n\n ' ${scriptFile}
189+ scriptFile=$' //DEPS com.github.holgerbrandl:kscript:1.2.2 \n import kscript.text.*\n val lines = resolveArgFile(args)\n\n ' ${scriptFile}
190190 fi
191191
192192 scriptHash=$( kscript_md5 <( echo " $scriptFile " ) )
You can’t perform that action at this time.
0 commit comments