Issue with sh Execution When Packaging TiSpark Source Code

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TiSpark源码打包时出现了sh执行问题

| username: TIDB救我狗命

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version] None
[Reproduction Path] What operations were performed when the problem occurred
[Encountered Problem: Problem Phenomenon and Impact]
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]

The following issue occurred when packaging TiSpark source code. Setting git’s sh as an environment variable did not help.

| username: 数据小黑 | Original post link

Is your compilation environment Windows? I have successfully compiled it on a Mac system. Do you want to try Linux or Mac?

| username: xfworld | Original post link

Windows only supports bat scripts, while sh scripts are for Linux and Unix. It is recommended to change the environment and try again.

| username: TIDB救我狗命 | Original post link

Oh, okay, I’ll give it a try.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.