A questão é provável:
function normalizePath() {
A alternativa portátil é:
normalizePath() {
No entanto, existem muitos outros bashisms em seu script, então você precisa consertar todos eles ou apenas usar bash
em vez de qualquer link sh
em seu sistema.
bash /shared/Downloads/Chipre/processDataset_V4.bash /shared/Downloads/Chipre/myGraph_v3_for_GPT_v2_2.xml variables.properties "/shared/Downloads/Chipre/June" "/shared/Downloads/Chipre/GPT/June" ndvi
ou apenas ligue como está:
/shared/Downloads/Chipre/processDataset_V4.bash /shared/Downloads/Chipre/myGraph_v3_for_GPT_v2_2.xml variables.properties "/shared/Downloads/Chipre/June" "/shared/Downloads/Chipre/GPT/June" ndvi