Opened 11 years ago

Closed 10 years ago

#1638 closed defect (fixed)

FreeBSD: change "/bin/bash" to "/usr/bin/env bash"

Reported by: mabshoff Owned by: mabshoff
Priority: major Milestone: sage-3.1.2
Component: packages: standard Keywords: FreeBSD
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by mabshoff)

On FreeBSD the default bash installtion location is /usr/local. Hence all our shell scripts with /bin/bash will break. The solution is to use /usr/bin/env bash instead. The same might apply to python and perl scripts.

Cheers,

Michael

Change History (3)

comment:1 Changed 11 years ago by mabshoff

  • Description modified (diff)

comment:2 Changed 11 years ago by mabshoff

  • Status changed from new to assigned

comment:3 Changed 10 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from assigned to closed

All known instances of /bin/bash have been fixed. So I am closing this and any new instances can be fixed via new tickets.

Cheers,

Michael

Note: See TracTickets for help on using tickets.