Remove which dependency from startup scripts

This commit is contained in:
Tim Steinbach
2015-12-23 09:28:28 -05:00
committed by Alexander Udalov
parent 2a5b4d2c83
commit 7cad65a1e7
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -16,4 +16,7 @@
export KOTLIN_RUNNER=1
"$(dirname "$(which "$0")")"/kotlinc "$@"
DIR="${BASH_SOURCE[0]%/*}"
: ${DIR:="."}
"${DIR}"/kotlinc "$@"
+4 -1
View File
@@ -16,4 +16,7 @@
export KOTLIN_COMPILER=org.jetbrains.kotlin.cli.js.K2JSCompiler
"$(dirname "$(which "$0")")"/kotlinc "$@"
DIR="${BASH_SOURCE[0]%/*}"
: ${DIR:="."}
"${DIR}"/kotlinc "$@"
+4 -1
View File
@@ -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 "$@"