Ticket #54 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Use /bin/bash instead of /bin/sh in nspire-as and nspire-gcc

Reported by: bwang Owned by: ExtendeD
Priority: major Milestone: Ndless v1.7
Component: Ndless: Toolchain Version: 1.7
Keywords: Cc:

Description

On some Linux systems (e.g. Ubuntu), /bin/sh links to dash, which errors trying to run the script. Having the script use bash (as in nspire-ld) solves this problem.

Change History

Changed 2 years ago by ExtendeD

Alternatively the bashisms could be replaced by a standard syntax:  https://wiki.ubuntu.com/DashAsBinSh

Changed 2 years ago by ExtendeD

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Ndless v1.7

nspire-as and nspire-gcc are now compatible with MSYS dash.

bwang, could you please check the fix on your own Linux environment?

Note: See TracTickets for help on using tickets.