Remove which dependency from startup scripts
This commit is contained in:
committed by
Alexander Udalov
parent
2a5b4d2c83
commit
7cad65a1e7
@@ -16,4 +16,7 @@
|
||||
|
||||
export KOTLIN_RUNNER=1
|
||||
|
||||
"$(dirname "$(which "$0")")"/kotlinc "$@"
|
||||
DIR="${BASH_SOURCE[0]%/*}"
|
||||
: ${DIR:="."}
|
||||
|
||||
"${DIR}"/kotlinc "$@"
|
||||
|
||||
@@ -16,4 +16,7 @@
|
||||
|
||||
export KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.K2JSCompiler
|
||||
|
||||
"$(dirname "$(which "$0")")"/kotlinc "$@"
|
||||
DIR="${BASH_SOURCE[0]%/*}"
|
||||
: ${DIR:="."}
|
||||
|
||||
"${DIR}"/kotlinc "$@"
|
||||
|
||||
@@ -14,4 +14,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"$(dirname "$(which "$0")")"/kotlinc "$@"
|
||||
DIR="${BASH_SOURCE[0]%/*}"
|
||||
: ${DIR:="."}
|
||||
|
||||
"${DIR}"/kotlinc "$@"
|
||||
|
||||
Reference in New Issue
Block a user