fingolfin / gap-osx-bundle

Bundle GAP and related software into a binary installer for Mac OS X
5 stars 3 forks source link

be more graceful on systems w/o "realpath" tool #19

Closed fingolfin closed 7 years ago

fingolfin commented 10 years ago

Currently, the gap.sh script will fail on such systems if launched directly and w/o setting PATH correctly.

fingolfin commented 10 years ago

Now, if people launch GAP.app by double clicking, or add its bin dir to their PATH, then everything is fine.

But if somebody tries to directly start gap by entering the full path, things fail in strange ways.

At the very least, we should check whether realpath is available, and if not, exit gracefully.

fingolfin commented 7 years ago

Done in 24e0d7657e36318bb9fb2b2509727f80b3492888