Skip to content

Shell files aren't usable on Ubuntu/Debian #11

@TimonLukas

Description

@TimonLukas

Hey! I'm currently trying to deploy parts of this repository for a demo, thank you for the great resource!

Sadly, it's not possible to use the scripts as-is on Ubuntu or Debian machines. Their sh implementation, Dash, is written to be very small, and as such doesn't support many features you'd expect. They already error on the declaration of the out function. If I execute them using bash (as in the shebang line) everything works perfectly.

My solution is now to replace every occurrence of sh [some script] with ./[some script]. On another machine I solved this problem by symlinking /bin/bash to /usr/bin/s, but that's a very dirty solution.

Based on the shebang lines, would anything break on other environments if this change would be implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions