AlloSphere-Research-Group / AlloSystem

AlloSystem is a cross-platform suite of C++ components for building interactive multimedia tools and applications.
http://mat.ucsb.edu/allosphere/software.php
BSD 3-Clause "New" or "Revised" License
65 stars 22 forks source link

Shell script fixups and POSIX standard compatibility #35

Closed DrewRWx closed 9 years ago

DrewRWx commented 10 years ago

This supersedes #32 - Assimp3 install and POSIX standard compatibility.

What began as a fix-up to our assimp2 uninstaller and assimp3 installer stanzas expanded into making our shell scripts as cross-platform compatible as possible. Plus a few other updates along the way.

The goal is to have the scripts run sucessfully on anything that /bin/sh symlinks to. For example, dash in Debian/Ubuntu.

Two important resources were Canonical's guide for porting from bash to dash and using the shellcheck linter in Sublimetext